[R] missing values
Ott Toomet
siim at obs.ee
Thu Jun 27 10:39:56 CEST 2002
On Thu, 27 Jun 2002, Ulrich Leopold wrote:
|Dear list,
|
|how can I exclude the missing values in the following example:
|
|tapply(lsk0t50$Pox2, lsk0t50$ProfN, sum)
You should try
tapply(......, na.rm=TRUE)
look ?sum and ?tapply
Ott
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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