autoReg_sub | R Documentation |
Perform univariable and multivariable regression and stepwise backward regression automatically
autoReg_sub(
fit,
threshold = 0.2,
uni = FALSE,
multi = TRUE,
final = FALSE,
imputed = FALSE,
keepstats = FALSE,
showstats = TRUE,
...
)
fit |
An object of class lm or glm |
threshold |
numeric |
uni |
logical whether or not perform univariate regression |
multi |
logical whether or not perform multivariate regression |
final |
logical whether or not perform stepwise backward elimination |
imputed |
logical whether or not include imputed model |
keepstats |
logical whether or not keep statistics |
showstats |
logical whether or not show descriptive statistics |
... |
Further arguments to be passed to imputedReg() |
An object of class "autoReg" which inherits from the class "data.frame" with at least the following attributes:
character. name of dependent variable
name of model. One of "lm","glm" or "coxph"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.