sapply(s,function(x) colMeans(x[,c("Ozone","Wind","Temp")]为什么写成sapply(s, colMeans(s[,c("Ozone","Wind","Temp")]就不行呢
s是列表,x是s中的数据框。对于colmeans函数,只能作用与矩阵或者数据框