daSubmodels: Returns all the submodels derived from full models.
Description
You could set some variables as constants, limiting the number of models.
Includes, by default, the null model
Usage
daSubmodels(x, constants = NULL, terms = NULL)
Value
list with elements level, pred.matrix, predictors, response, constants
Arguments
- x
regression class (lm or lmer)
- constants
vector of constants
- terms
vector of terms. By default, obtained using the formula