[R] tapply

From: Manuel Montes <jmmontes_at_uni-hohenheim.de>
Date: Tue, 08 Apr 2008 11:14:13 +0200


Does anyone have something like tapply for matrices? I would like to average the contents of columns according to factors but tapply works only with one column at each time. Is something available to do everything in one step?
Many thanks.

Manuel Montes



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 08 Apr 2008 - 10:17:13 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Apr 2008 - 11:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive