select_terms: Select terms based on the user's term
specification
Description
Before returning the selection, ensure that the term we are subsetting on exists.
Usage
select_terms(fit, term = NULL)
Value
A character vector of terms to run analyses on.
Arguments
- fit
A model fit by lm()
or aov()
(or similar).
- term
If NULL
, use each categorical term in the model. Otherwise, only use the given
term.