[R] Naming objects in a list

P.Branco pjlbranco at yahoo.com
Fri Oct 9 13:54:16 CEST 2009


Hello,

I am trying to run a for-loop in which I want to add glm output objects
sequentially into a list. I do not know how to give names to each object in
a list. I tried this :

 
List.glm <- list()

for(i in 1:n)

list.glm <- list(list.glm, glm(,,,))

 

but it is obviously unsuited…

Best regards,

Paulo
-- 
View this message in context: http://www.nabble.com/Naming-objects-in-a-list-tp25819794p25819794.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list