split函数
airquality datasets中,按照月份对三列数据取均值,为何出现如下提示:
apply(s, function(x) colMeans(x[, c("Ozone", "Wind", "Temp")])) Show Traceback Rerun with Debug Error in x[, c("Ozone", "Wind", "Temp")] : 类别为'symbol'的对象不可以取子集
airquality datasets中,按照月份对三列数据取均值,为何出现如下提示:
apply(s, function(x) colMeans(x[, c("Ozone", "Wind", "Temp")])) Show Traceback Rerun with Debug Error in x[, c("Ozone", "Wind", "Temp")] : 类别为'symbol'的对象不可以取子集
2016-07-02
举报