[R] aov or t-test applied on all variables of a data.frame

From: Christoph Lehmann <christoph.lehmann_at_gmx.ch>
Date: Sat 12 Mar 2005 - 02:21:30 EST


Hi
I have a data.frame with say 10 continuous variables and one grouping factor (say 3 levels)

how can I easily (without loops) apply for each continous variable e.g. an aov, with the grouping factor as my factor (or if the grouping factor has 2 levels, eg. a t-test)

thanks for a hint

cheers

christoph



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 14 10:33:58 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:46 EST