Hi there,
   
  I have a list of models (about 600 glm models) and I included the prefix "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~x1) 13.11942
mymod_2 glm(y~x2) 13.11942
mymod_3 glm(y~x1+x2) 13.11942

  How can I do that?
   
  All the best,
   
  Miltinho
   

 		
---------------------------------

	[[alternative HTML version deleted]]


