View source: R/table_pres_abs.R
table_pres_abs | R Documentation |
table_pres_abs
returns the table used as an argument in the glm modeling.
It creates the i_ab and the presence columns, and apply the modality selection functions.
table_pres_abs(tab, esp, list_param, var_eff_list, espece_id, catch_col, limit)
tab |
Table with the captures, fishing efforts and associated parameters |
esp |
exact name of the studied species |
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 |
limit |
percentage representing the limit value under which a modality is removed |
the function return a table from which we can select only the presence = 1 to get the abundance table
data(tableau_sc)
table_pres_abs(tableau_sc, esp="PSEUDOTOLITHUS ELONGATUS", list_param=c("annee", "saison", "strate"), var_eff_list=c("surface_chalutee"), espece_id='nom_taxonomique', catch_col='total_capture', limit=0.0001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.