1. > set.seed(1)
  2. > data<-rnorm(518,10,3)
  3. > sx<-apply(data,2,sd)
  4. Error in apply(data, 2, sd) : dim(X) must have a positive length