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)
Arguments
x
regression class (lm or lmer)
terms
vector of terms. By default, obtained using the formula
Value
list with elements level, pred.matrix, predictors, response, constants