[R] apply

Seth Falcon sfalcon at fhcrc.org
Thu Apr 7 15:59:54 CEST 2005


malte <jan.wiener at tuebingen.mpg.de> writes:
> aveBehav=c(apply(sdata, 2, mean))

aveBehav= apply(sdata, 2, mean, na.rm=TRUE)

and

?apply will tell you about this.

+ seth




More information about the R-help mailing list