fit2summary {autoReg} | R Documentation |
Summarize statistics with a model or model list
Description
Summarize statistics with a model or model list
Usage
fit2summary(fit, mode = 1, ...)
Arguments
fit |
An object of class "lm" or "glm" or "fitlist" which is a result of |
mode |
integer |
... |
Further argument to be passed to fit2stats |
Value
An object of class "data.frame"
Examples
library(survival)
data(cancer)
fit=glm(status~rx+sex+age+obstruct+nodes,data=colon,family="binomial")
fit2summary(fit)
fitlist=fit2list(fit)
fit2summary(fitlist)
fit=survreg(Surv(time,status)~rx+sex+age+obstruct+nodes,data=colon)
fit2summary(fit)
[Package autoReg version 0.3.3 Index]