contains_covariates | R Documentation |
Parses through a GAI model's skeleton and design matrix list to determine which type of covariate specification has been used (No covariates, the same formula for each brood, or brood-specific formulas)
contains_covariates(base, par, DMs)
base |
The character name of the type of parameter. "mu", "sigma", or "w" |
par |
A vector of parameter estimates, typically supplied by optim |
DMs |
The list of design matrices which contains all of the design matrices required to calculated the value of each parameter given its covariate values |
A boolean. TRUE if the parameter "base" uses covariates, and FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.