Displaying 1 result from an estimated 1 matches for "dddply".
Did you mean:
ddply
2010 Sep 22
2
speeding up regressions using ddply
...e xm to include in the model
glm.summary<-summary(log.glm)
aic <- extractAIC(log.glm)
coef <- coef(glm.summary)
list(Est1=coef[1,2], Est2=coef[3,2], AIC=aic[2]) #or whatever other
output here
}
And then I'd like to use ddply to speed up the computations.
require(pplyr)
output<-dddply(xm, .(variable), as.data.frame.function(h))
output
I can easily do this using ddply when I only want to use 1 variable in
the model, but can't figure out how to do it with two variables.
Many thanks for any hints!
Ali
--------------------
Alison Macalady
Ph.D. Candidate
University of A...