[R] sd help
jwiley.psych at gmail.com
Sun Sep 4 02:54:07 CEST 2011
You are not getting an error. You are getting the standard deviation
of the columns as clearly described in the documentation.
On Sat, Sep 3, 2011 at 5:00 PM, novis <kaushik.sinha.cs at gmail.com> wrote:
> 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
> a<- cbind()
> a<- cbind(a, 5)
> a<- cbind(a, 7)
> If I compute the mean it works fine though i.e., print(mean(a)) works
> just fine.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
Programmer Analyst II, ATS Statistical Consulting Group
University of California, Los Angeles
More information about the R-help