msenlm | R Documentation |
'msenlm' fits multiple species-environment non-linear models via maximum likelihood.
msenlm( models = NULL, data = NULL, xvar = NULL, yvar = NULL, method = "crossed", conf.level = 0.95 )
models |
Object listing models to fit (from set_models function). |
data |
A data frame containing 'x' (explanatory) and 'y' (response) variables. |
xvar |
Name of explanatory variable (must be univariate). |
yvar |
Names of response variables. |
method |
If "crossed", fit all models to all response variables. If "paired", fit first model to first response variables, etc. |
conf.level |
Confidence level for parameter confidence intervals. Default is 0.95. |
Object containg model fits to data y and x.
## Not run: models <- set_models(mean_fun=c("gaussian","beta"), err_dist=c("zip","zinb")) fits <- msenlm(models=models, data=haul, xvar="depth", yvar=c("Albatrossia.pectoralis", "Sebastolobus.altivelis")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.