[R] NAs

Pesl Thomas thomas.pesl at arcs.ac.at
Wed Sep 13 08:58:21 CEST 2000


Dear R-Friends,

i encountered the following problem:

i wanted to apply(x,2,mean), where x is an array (3720 x 90), every single
column has a certain number of NAs, so the output of apply is a vector of
NAs. 
Is there a possibility (other than reducing every single column with
na.omit()) to deal with this.

Thanks,
    Thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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