sample_summary: Summarize the numbers of lengths, weights, ages,...

Description Usage Arguments Value

Description

Summarize the numbers of lengths, weights, ages, sample_weights, and catch_weights in the sample data

Usage

1
2
3
4
sample_summary(
  d = readRDS(here("data", sample_data_raw_file)),
  vessel_filter = NULL
)

Arguments

d

A dataframe as extracted using fetch_sample_data()

vessel_filter

If NULL, no filter. If "ft", then freezer trawlers as defined in this package. If "ss", then Shoreside vessels as defined in this package

Value

A list of two dataframes, the first summarized by year and the second sampled by sample_id and year


pbs-assess/hakedata documentation built on Jan. 16, 2021, 9:15 p.m.