[R] do multiple anova tests

yabado alexhsi1123 at hotmail.com
Thu Jun 5 00:18:31 CEST 2008


Hi

I think my question might be answered before but i can't find the correct
one.

Here is the question.

I have a data frame from a csv file which contains about 30 variables.

lit is like this. (the values are just number I arbitrary created here)

id group calorie weight height bmi co2........ SBP
1  a       200     160     100    30   50           90
2  a       100       100    130   35   40          70
3  b        60        190     110       .     .  ........    .
4  b        30        .          .        .     ..............
5  c         .           .        .         .   ...............
.   .        .  ............................................etc


I want to use for loop or any other methods to write one anova function to
run
anova tests for each numeric variable above, so I can get about 30 anova
results. 

Can someone help me on this 

Thank you
-- 
View this message in context: http://www.nabble.com/do-multiple-anova-tests-tp17657995p17657995.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list