Hello, I am getting a strange error while computing standard deviation. If the do the following I get the answer NA NA. Any help??? Thank you so much.
a<- cbind() a<- cbind(a, 5) a<- cbind(a, 7) print(sd(a)) If I compute the mean it works fine though i.e., print(mean(a)) works just fine. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.