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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.