[R] do multiple anova tests

From: yabado <alexhsi1123_at_hotmail.com>
Date: Wed, 04 Jun 2008 15:18:31 -0700 (PDT)

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.

______________________________________________
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 Thu 05 Jun 2008 - 00:39:25 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 Thu 05 Jun 2008 - 01:30:38 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