select_top_x_percent: Select species in top x of landings

Description Usage Arguments Value

View source: R/select_top_x_percent.R

Description

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

Usage

1
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


andybeet/indexPPR documentation built on March 18, 2021, 12:33 p.m.