'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
)
Object listing models to fit (from set_models function).
A data frame containing 'x' (explanatory) and 'y' (response) variables.
Name of explanatory variable (must be univariate).
Names of response variables.
If "crossed", fit all models to all response variables. If "paired", fit first model to first response variables, etc.
Confidence level for parameter confidence intervals. Default is 0.95.
Object containg model fits to data y and x.
if (FALSE) {
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"))
}