Chris,
Here is an example. Please ignore the particulars of the models - they were
built only to demonstrate sapply():
library(lme4)
statedata - data.frame(state.x77, state.region)
#create empty list object
mods - list()
#run the models, adding each one to the list
mods$m1 - glm(Income ~
Dear List,
I am looking to run a host of models (60) with three methods - lmer,glm and lrm.
Is there a way to output the key stats into a table that i can copy to excel?
I.e for lmer i would want AIC,BIC etc
for lrm i would want Brier score, r2, c-value etc
At present i am running the
Dear List,
I am looking to run a host of models (60) with three methods - lmer,glm and lrm.
Is there a way to output the key stats into a table that i can copy to excel?
I.e for lmer i would want AIC,BIC etc
for lrm i would want Brier score, r2, c-value etc
At present i am running the
...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Chris Mcowen
Sent: Tuesday, October 05, 2010 5:47 AM
To: r-help@r-project.org
Subject: [R] Extract summary stats to table
Dear List,
I am looking
4 matches
Mail list logo