Re: [R] Simultaneously summarizing many models

2008-02-22 Thread Henrique Dallazuanna
Another option: lapply(ls(patt="^m[0-9]"), function(model)summary(get(model))) On 22/02/2008, Christoph Scherber <[EMAIL PROTECTED]> wrote: > Dear R users, > > Let´s say I have 10 models, each named m1,m2,m3..., and I would like to > summarize them automatically > and simultaneously - e.g., t

Re: [R] Simultaneously summarizing many models

2008-02-22 Thread Richard . Cotton
> Let´s say I have 10 models, each named m1,m2,m3..., and I would like > to summarize them automatically > and simultaneously - e.g., to extract parameter estimates later on > from all models; how can I do that? > > I have tried: > > x=1:10 #this creates some example data > y=rnorm(10) > > m1

Re: [R] Simultaneously summarizing many models

2008-02-22 Thread ONKELINX, Thierry
lto:[EMAIL PROTECTED] Namens Christoph Scherber Verzonden: vrijdag 22 februari 2008 12:46 Aan: [EMAIL PROTECTED] Onderwerp: [R] Simultaneously summarizing many models Dear R users, Let´s say I have 10 models, each named m1,m2,m3..., and I would like to summarize them automatically and simultaneou

[R] Simultaneously summarizing many models

2008-02-22 Thread Christoph Scherber
Dear R users, Let´s say I have 10 models, each named m1,m2,m3..., and I would like to summarize them automatically and simultaneously - e.g., to extract parameter estimates later on from all models; how can I do that? I have tried: x=1:10 #this creates some example data y=rnorm(10) m1=lm(x~