table_catch: Create a table of total catch

View source: R/table-catch.R

table_catchR Documentation

Create a table of total catch

Description

Create a table of total catch

Usage

table_catch(
  ct,
  country = c("both", "can", "us"),
  start_yr,
  end_yr,
  inc_foreign_jv = FALSE,
  font_size = 10,
  header_font_size = 10,
  header_vert_spacing = 12,
  header_vert_scale = 1.2,
  ...
)

Arguments

ct

Data frame as in the file landing-tac-history.csv

country

One of "both", "can", or "us"

start_yr

Start year in table

end_yr

End year in table

inc_foreign_jv

Logical. If TRUE, include columns for the U.S. foreign fleets and Canadian foreign fleet

font_size

The table data and header font size in points

header_font_size

The font size for the headers only. If NULL, the headers will have the same font size as the table cell data

header_vert_scale

Scale factor to create the vertical spacing value. See header_vert_spacing

...

Arguments passed to knitr::kable()

vert_spacing

The vertical spacing between newlines for this font. If NULL this will be calculated as header_font_size * header_vert_scale

Value

A knitr::kable() object


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.