Learn R Programming

dominanceanalysis (version 2.0.0)

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)

constants

vector of constants

terms

vector of terms. By default, obtained using the formula

Value

list with elements level, pred.matrix, predictors, response, constants