Skip to content

Error in var(x, na.rm = na.rm) : no complete element pairs

2 messages · Carlos Morales, PIKAL Petr

#
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


Carlos Morales Diego
2 days later
#
Hi

r-help-bounces at r-project.org napsal dne 22.02.2009 12:11:46:
I
complete
information
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
http://www.R-project.org/posting-guide.html