Hi r-help-boun...@r-project.org napsal dne 22.02.2009 12:11:46:
> > > Hello all, > > I'm trying to calculate the standar desviation with sd(x,na.rm=TRUE) and I > don't know why I have this error Error in var(x, na.rm = na.rm) : no complete > element pairs when I try to calculate it, I have been looking for information > about this error but nothing. Why it happens?. What can I do to fix it?. > Thanks so much from Spain AFAIK nobody answered your question yet. Nor do I as I was not able to reproduce your error message and without it it is rather difficult to reveal what caused it. I suspect that x is not a vector but only you have means for checking it. Regards Petr > > > Carlos Morales Diego > > > > > ______________________________________________ > 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. ______________________________________________ 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.