[R] Warning message

Jim Lemon bitwrit at ozemail.com.au
Thu Jul 25 12:46:47 CEST 2002


Hi,

Without knowing what the object contains, it's hard to tell. Factor 
objects are numeric mode but generally screw up when treated as numbers. 
See what happens when you enter:

class(mensuel$VARIANCE.PRIX)

and you may be able to get away with:

mean(unclass(mensuel$VARIANCE.PRIX))

Jim
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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