msenlm.best | R Documentation |
Find the best model for each response variable from an msenlm object using the given criteria.
msenlm.best(object, best = "AICc")
object |
msenlm multiple model fit. |
best |
Select best model for each response variable according to the following criteria: "nll", "AIC", "AICc", "BIC". |
msenlm object only containing best fitted models.
## Not run: ## Summarise data models <- set_models(mean_fun=c("gaussian", "beta"), err_dist=c("zinb", "zip"), method="crossed") fits <- msenlm(models=models, data=haul, xvar="depth", yvar=c("Albatrossia.pectoralis", "Sebastolobus.altivelis")) best <- msenlm.best(fits, best="AICc") summary(best) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.