[R] Error Calculating Mean

justin rapp jdrapp at gmail.com
Sun Jul 9 21:32:17 CEST 2006


I have a vector containing players' weights.  When I enter


mode(data.linear$Weight)
"numeric" is returned.


When I type mean(data.linear$Weight)

NA is returned.

Any ideas as to why this may be the case?  I am trying to calculate
this ultimately so I can superimpose a normal density line over a
histogram containing the weights?



More information about the R-help mailing list