Description Usage Arguments Value See Also
This function will try and remove a single predictor from a current linear model. A predictor will be removed if it has maximal p-value and its p-value is greater than a certain threshold.
1 |
fitCurrent |
the current model of type "lm" |
fullmodel |
a linear model containing all possible predictors. Typically of the form lm(y~., data=data) |
aRemove |
the threshold for removing the predictor, set to 0.1 by default |
forcedIn |
vector of predictors that will be forced into the final model |
an updated linear model of type "lm"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.