Skip to contents

This function takes a preprocessed landings' matrix and uses univariate techniques (see univOutl::LocScaleB) for the identification of outliers in the distribution of the number of individuals per catch and their size. The function returns a data frame with the survey id, the alert number and a nested column species_group containing validated catches parameters.

Usage

validate_catch_params(data = NULL, k_ind = NULL)

Arguments

data

A preprocessed data frame

k_ind

Extension of bounds for the number of individuals

Value

A data frame containing the validated catches parameters.

Examples

if (FALSE) { # \dontrun{
pars <- read_config()
landings <- get_merged_landings(pars)
validate_catch_params(landings, k = 3)
} # }