dput(x)
structure(c("2005-01-01: 1 ", "2005-01-02: 1 ", "2005-01-03: 1 ",
"2005-01-04: 1 ", "2005-01-05: 1 ", "2005-01-06: 1 ", "(Other) :724 ",
"Min. : 1.700 ", "1st Qu.: 3.062 ", "Median : 4.345 ",
"Mean : 6.267 ", "3rd Qu.: 7.435 ", "Max. : 22.100 ",
"NA's :666.000 ", "Min. : 0.2490 ", "1st Qu.: 0.6182 ",
"Median : 1.0500 ", "Mean : 2.2679 ", "3rd Qu.: 2.7825 ",
"Max. : 10.8000 ", "NA's :666.0000 ", "Min. :101 ",
"1st Qu.:101 ", "Median :101 ", "Mean :101 ", "3rd Qu.:101 ",
"Max. :101 ", NA), .Dim = c(7L, 4L), .Dimnames = list(c("",
"", "", "", "", "", ""), c("Dat", "Var1", "Var2", "Name")), class = "table")
我正在尝试这样做:
x$Var1
并收到此错误:
Error in x$Var1 : $ operator is invalid for atomic vectors
任何想法,我在这里做错了吗?