table_catch: Create a table of catch, by Landings and Discards

View source: R/table-catch.R

table_catchR Documentation

Create a table of catch, by Landings and Discards

Description

Create a table of catch, by Landings and Discards

Usage

table_catch(
  catch_df,
  start_yr = NULL,
  by_area = FALSE,
  gear_col_widths = "5em",
  scale_factor = 1000,
  ret_df = FALSE,
  bold_headers = TRUE,
  ...
)

Arguments

catch_df

A data frame as output by gfplot::tidy_catch()

start_yr

The year to start the table or NULL to include all data

by_area

Logical. If TRUE, make a table by area (grouped as 3CD and 5ABCDE)

gear_col_widths

Width to make the columns for the gear types

scale_factor

Value to divide all the catches by to make the table in tonnes

ret_df

If TRUE return a data frame, if FALSE, return an csasdown::csas_table()

bold_headers

If TRUE, make all column headers bold

...

Arguments to pass to csasdown::csas_table()

Value

A csasdown::csas_table()


pbs-assess/gfiscamutils documentation built on Oct. 24, 2024, 1:37 p.m.