Description Usage Arguments Value Examples
Create a list of all possible models from a set of covariates and a response variable. Generally, this function is only useful when the resulting object is passed to dev.expl.mgcv::dev.expl.calcs.
1 | model.list(covariates, response)
|
response |
A string with the response variable followed by a ~ and the intercept (usually 1), e.g. "Mean_Abundance_perTrapnight~1" |
regressors |
Vector of strings representing each covariate in a gam model including k value and outter wraper (s, ti, te etc.) |
A list of formulas for all possible combinations of models and a matrix using logical values to describe which terms are included in each of the model formulas.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.