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

Christoph Lehmann christoph.lehmann at gmx.ch
Fri Mar 11 16:21:30 CET 2005


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




More information about the R-help mailing list