| model_pres_abs | R Documentation |
model_pres_abs runs the actions for the GLM modeling process on presence/absence data.
model_pres_abs(
tab,
esp,
title,
list_param,
var_eff_list,
espece_id,
catch_col,
interactions = FALSE,
limit,
formula_select,
plot = FALSE,
summary = FALSE,
type = 2
)
tab |
input dataset table |
esp |
exact name of the studied species |
title |
fraction of the title in the plots |
list_param |
list of the tested parameters |
var_eff_list |
list of the possible fishing effort column |
espece_id |
exact name of the column indicating the species |
catch_col |
exact name of the column indicating the catches |
interactions |
FALSE by default. IF TRUE, print the interactions plots |
limit |
percentage representing the limit value under which the modality is removed |
formula_select |
if "auto", the function select which formula as the lowest AIC. Else, run the selected formula. |
plot |
FALSE by default. If TRUE, print the data presentation histograms |
summary |
FALSE by default. If TRUE, print the summary of the selected GLM |
type |
To study marginal effects with Anova type III in case of interaction |
data(tableau_sc)
glm_pres <- model_pres_abs(tableau_sc, esp="PSEUDOTOLITHUS ELONGATUS", title="SC", list_param=c("annee", "saison"), var_eff_list=c("surface_chalutee"), espece_id='nom_taxonomique', catch_col='total_capture', interactions = FALSE, limit=0.0001, formula_select = "presence ~ annee + saison")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.