Skip to content
Prev 365988 / 398502 Next

Organize regression output

Dear Francesca

i usually do this by collecting the models into a list not a vector

model <- list(ra = ra, rb = rb, and so on

and then I use lapply or sapply to process the model

lapply(mode, function(x) coef(x)[1])

or something like that, not tested
On 10/12/2016 07:32, francesca Pancotto wrote: