View source: R/dropRedundantTerms.R
dropRedundantTerms | R Documentation |
Detect co-linear fixed effects and drop the last one
dropRedundantTerms(formula, data, tol = 0.001)
formula |
original formula |
data |
data.frame |
tol |
tolerance to test difference of correlation from 1 or -1 |
a formula, possibly with terms omitted.
# Valid formula
dropRedundantTerms(~ group + extra, sleep)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.