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

Carlos Morales carlosmoralesdiego at yahoo.es
Sun Feb 22 11:20:32 CET 2009


Hello all,

I'm trying to calculate the standar desviation and I'm using the function sd(x,na.rm=TRUE) and I have this error:  Error in var(x, na.rm = na.rm) : no complete element pairs . Why happen this?, What can I do to solve it?. x is list of three numbers which I have from a table.


Thanks so much from Spain
Carlos Morales Diego






More information about the R-help mailing list