mm_BuildModel | R Documentation |
Easily evaluate simple model sets (one covariate with up to 2 additional classifiers/covariates). Helpful for exploratory analysis.
mm_BuildModel(shape_data, ..., subgrps = NULL, ff1 = NULL, univ_series = FALSE)
shape_data |
This will be the (multivariate) response variable |
... |
Covariate(s)/classifier(s) to build a model set. Indvidual models are run (with interaction). |
subgrps |
Optional. Vector of group membership. Model sets will be run across the whole sample and subgroups. If k is specified, only the full model will be run. |
ff1 |
An explicit model to test in the format: " coords ~ ...". Names must match those specifed in |
univ_series |
Default (FALSE) will evaluate multiple covariates and their interaction in a single model. However, it can be helpful to understand the univariate effects in isolation of interation/confounding factors. Set univ_series to TRUE to produce a series of model sets, one for each covariate specified (NOTE: ff1 must also be NULL for this to work). |
For detailed model or specific combinations of variables, see geomorph::procDlm for full use of this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.