Description Usage Arguments Value Functions Examples
Re-order model terms
1 2 3 4 5 6 7 8 9 10 11 |
m |
an lm objecct |
d |
the data frame. If NULL, attempts to extract from m. |
refit |
TRUE or FALSE |
maxNPred |
maximum number of predictors to use, defaults to all. |
collapse |
TRUE or FALSE |
a vector of terms in order last to first, or an lm if refit=TRUE. regsubsetsOrder returns a list of predictor vectors, or a list of fits
pvalOrder
: Arranges model terms in order of increasing p-value
bselOrder
: Arranges model terms using backwards selection
fselOrder
: Forwards selection
revPredOrd
: Reverses order of terms in a fit
randomPredOrder
: Reorders terms in a fit randomly
regsubsetsOrder
: Best subsets regression.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.