Skip to content

How to make array of regression objects

3 messages · Dmitrij Kudriavcev, Ista Zahn

#
Hi Dmitrij,
I think the usual way is to store the results in a list:

o <- list()
o[[1]] <- lrm(...)
o[[2]] <- lrm(...)
o[[...]] <-lrm(...)

then you can access the results like 0[[1]], 0[[2]] ...

Best,
Ista

On Tue, May 17, 2011 at 11:53 PM, Dmitrij Kudriavcev
<dimitrij.kudriavcev at ntsg.lt> wrote: