Skip to content

glm step() fkt

2 messages · Schrabauke, R. Michael Weylandt

#
Put them in a list:

ModelList <- vector("list", 100)
....
   ModelList[[i]] <- mod.step <- step(mod, direction="both",trace=T)

Then come back and use sapply() to do whatever you want to the set of
models to compare/count/etc them

Michael
On Wed, Nov 30, 2011 at 6:12 AM, Schrabauke <berndii at yahoo.de> wrote: