Perform univariable and multivariable regression and stepwise backward regression automatically
Source:R/autoReg.R
autoReg_sub.Rd
Perform univariable and multivariable regression and stepwise backward regression automatically
Usage
autoReg_sub(
fit,
threshold = 0.2,
uni = FALSE,
multi = TRUE,
final = FALSE,
imputed = FALSE,
keepstats = FALSE,
showstats = TRUE,
...
)
Arguments
- 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()