Description Usage Arguments Value Author(s)
This fits a linear model with the form of Indicador ~ Ano + Zona + Post * Zona + Temperatura + Visibilidad + Profundidad to the data. Depending on the specified covars, Temperature, Visibility and Depth can be dropped from the model. Use define_covars to identify which covariates to keep or specify them manually.
1 |
data |
A data.frame containing at least the columns for Indicador, Ano, Zona, Post, Temperature, Visibility, and Profundidad. The indicator can be any of the biophysical indicators generated by shannon(), density(), fish_biomass(), trophic(), fish_size() |
covars |
a character vector specifying which covariates to keep. Options are Temperatura, Profundidad, Visibilidad or None (to drop all covariates). |
An object of class lm containing the fitted model
VillaseƱor-Derbez, J.C. <jvillasenor@turfeffect.org>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.