fit2summary | R Documentation |
Summarize statistics with a model or model list
fit2summary(fit, mode = 1, ...)
fit |
An object of class "lm" or "glm" or "fitlist" which is a result of |
mode |
integer |
... |
Further argument to be passed to fit2stats |
An object of class "data.frame"
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.