我有一个看起来像这样的数据框:
Monday Tuesday Wednesday Thursday Friday Saturday Sunday Monday.1 Tuesday.1
5.3 2.2 1 7 8.3 5 6.4 7 2
我想要所需的绘图,如图像中所示:
任何帮助将不胜感激
投放:
structure(list(Wednesday = 7.4375, Thursday = 7.94791666666667,
Friday = 7.14583333333333, Saturday = 4.325, Sunday = 4.41304347826087,
Monday = 7.95125, Tuesday = 8.09375, Wednesday.1 = 7.85416666666667,
Thursday.1 = 8.58333333333333, Friday.1 = 6.02173913043478,
Saturday.1 = 2.80952380952381, Sunday.1 = 2.66666666666667), row.names = c(NA,
-1L), class = c("data.table", "data.frame"), .internal.selfref = <pointer: (nil)>)
答案 0 :(得分:1)
it("has an id attribute", () => {
const idName = wrapper().find("id");
expect(idName.prop()).toBe(idName);
});