),阵列(array),数据框(data frame),时间序列(ts) 等其他类型。...#数据特定列的选择
a2.2[, c("Species", "Sepal.Length", "Sepal.Width")]
a2.2[,c(5,1,2)]
dplyr::select(a2.2, 5,...#数据列的选择
dplyr::select(a2.2, Species, contains("Sepal"))
#筛选a2.2数据中标题包括"Sepal"、标题为"Species"的列
?...dplyr::select(a2.2, -contains("Petal"))
#筛选a2.2数据中标题不包括"Sepal"的列
?...dplyr::rename(a2.2, Flower = Species)
#将a2.2数据中的Species标题改成Flower后显示
?