A list of the most abundance species (by landings). The number of species selected is determined by the fraction of cumulative sum of the landings. This fraction is controlled by the value of threshold

select_top_x_percent(NESPP3, LANDINGS, threshold)

Arguments

NESPP3

character vector. NESPP3 codes

LANDINGS

numeric vector. landings associated with NESPP3 codes

threshold

numeric scalar. fraction of landings used to determin the most abundant species in landings

Value

Tibble (nx2):

NESPP3

species code

LANDINGS

landings associates with NESPP3 code