search for: mymod_1

Displaying 1 result from an estimated 1 matches for "mymod_1".

Did you mean: mymod1
2006 Dec 11
1
organizing stats from a list of models
...fix "mod_" on their name. Now I would like retrieve the list from the R environment and save their AICs (and other info) on a table. I´m trying something like: ------------------------- y<-runif(20,min=0,max=1) x1<-runif(20,min=0,max=1) x2<-runif(20,min=0,max=1) mymod_1 <-glm(y~x1) mymod_2<-glm(y~x2) mymod_3<-glm(y~x1+x2) model.list<-ls(pat="mymod_") model.list [1] "mymod_1" "mymod_2" "mymod_3" ------------------------- Now I would like have something like model_name call AIC mymod_1 glm(y...