[R] lme Random Effects and Covariates

2010-11-18 Thread patze003
1. I'm attempting to test for Random Effects. I've grouped the data on subject (grid) but want to use lme to build the model without subject as a RE then add it and do anova between the 2 models. This is the result I get and it appears it's adding Random Effects. tmp.dat4 - groupedData(Trials

[R] Executing Command on Multiple R Objects

2010-11-15 Thread patze003
Hello Everyone - I want to print a number of results from lme function objects out to a txt file. How could I do this more efficiently than what you see here: out2 - capture.output(summary(mod2a)) out3 - capture.output(summary(mod3)) out4 - capture.output(summary(mod5)) out5 -