fit2summary: Summarize statistics with a model or model list

View source: R/fit2summary.R

fit2summaryR 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 fit2list

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)

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.