[R] Warning message

jimmy melinard jmelinard at yahoo.fr
Thu Jul 25 11:09:43 CEST 2002


hi!
i'm quite new in R and i don't understand why this
statement doesn't work:

> mode(mensuel$VARIANCE.PRIX)
[1] "numeric"
> storage.mode(mensuel$VARIANCE.PRIX)
[1] "integer"
> mean(mensuel$VARIANCE.PRIX)
[1] NA
Warning message: 
argument is not numeric or logical: returning NA in:
mean.default(mensuel$VARIANCE.PRIX) 


Thanks for help!



___________________________________________________________


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list