r - Extact 'deviance' simultaneously from multiple objects -


i'm r beginner

from data set, i've fitted different 10 log-linear models, according multiple combination of explain variables.

model1 model2 model3 . . . model10

i want extract deviance of each model, model1 model10

i can extract below deviance(model1) deviance(model2) . . . deviance(model10)

but think takes time, , no good-looking.

how can extract deviance 'simultaneously' multiple object?

is there function or package ?

please let me know. thank

another approach maybe

lapply(mget(paste0("model",1:10)),deviance) 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -