table_catch_tac_summary: Create a table of US vs Canadian catch, TAC, and attainment...

View source: R/utils-calc-total-catch.R

table_catch_tac_summaryR Documentation

Create a table of US vs Canadian catch, TAC, and attainment for the JTC December meeting presentation

Description

Create a table of US vs Canadian catch, TAC, and attainment for the JTC December meeting presentation

Usage

table_catch_tac_summary(
  yr = NULL,
  attain_digits = 1,
  font_size = 8,
  header_font_size = 10,
  header_vert_spacing = 12,
  header_vert_scale = 1.2,
  ...
)

Arguments

yr

The year to use for the table

attain_digits

The number of decimal places in the attainment percentages

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_spacing

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

header_vert_scale

Scale factor to create the vertical spacing value. See header_vert_spacing

...

Arguments passed to knitr::kable()

Value

A knitr::kable() object


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