fit2list {autoReg} | R Documentation |
Make a list of univariable model with multivariable regression model
Description
Make a list of univariable model with multivariable regression model
Usage
fit2list(fit)
Arguments
fit |
An object of class "lm" or "glm" |
Value
An object of class "fitlist" which is a list of objects of class "lm" or "glm"
Examples
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)
[Package autoReg version 0.3.3 Index]