# NOT RUN {
# Compile data
data(X)
data(species.info)
data(species.table)
# Calculate indicators
# Weighted by abundance
meanMaxLength(X, group = "FINFISH", species.table = species.table,
maxlength.table = species.info, metric = "ABUNDANCE", years = c(2014:2019))
#Weighted by biomass
meanMaxLength(X, group = "FINFISH", species.table = species.table,
maxlength.table = species.info, metric = "BIOMASS", years = c(2014:2019))
# }
Run the code above in your browser using DataLab