mean_ai | R Documentation |
mean_ai
gather the different AI series (/!\ MAX 5 SERIES) in one single table, standardise one mean AI series and plot several graphs
mean_ai(
data_IA,
MOY = TRUE,
vect_year_elim,
type_ref,
type_other,
fish_power,
title
)
data_IA |
data table containing the year in the first column, and the different AI series on the following ones |
MOY |
if TRUE, then mean_3years is run |
vect_year_elim |
vector containing the years to delete. Else, empty vector c() |
type_ref |
Select AI for standardisation. |
type_other |
Select others AI |
fish_power |
A vector containing technological creep for each AI in type_other. Not applied if equal zero. |
data(data_IA_JABBA)
data_IA_test <- data_IA_JABBA %>% dplyr:::select(c(annee, ScientificSurvey_SEN, Artisanal_SEN))
mean_ai(data_IA=data_IA_test, MOY=T, vect_year_elim=c(), type_ref = "ScientificSurvey_SEN", type_other = "Artisanal_SEN", fish_power = c(0.05), title = "1st Try")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.