View source: R/model_ai_plus.R
model_ai_plus | R Documentation |
model_ai_plus
runs the actions for the GLM modeling process on abundance data.
model_ai_plus(
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)
model_ai_plus(tableau_sc, esp = "PSEUDOTOLITHUS ELONGATUS", effort = "auto", title = "SC", list_param = c("annee", "saison", "strate"), var_eff_list=c("surface_chalutee"), espece_id='nom_taxonomique', catch_col='total_capture', interactions =FALSE, limit=0.001, formula_select = "log(i_ab+0.0001) ~ strate + annee + saison")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.