fit2list | R Documentation |
Make a list of univariable model with multivariable regression model
fit2list(fit)
fit |
An object of class "lm" or "glm" |
An object of class "fitlist" which is a list of objects of class "lm" or "glm"
library(survival)
data(cancer)
fit=glm(status~rx+sex+age+obstruct+nodes,data=colon,family="binomial")
fit2list(fit)
fit=lm(mpg~wt*hp+am,data=mtcars)
fit2list(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.