table_landings_tac: Create a summary table of landings and TACS

View source: R/table-landings-tac.R

table_landings_tacR Documentation

Create a summary table of landings and TACS

Description

Create a summary table of landings and TACS

Usage

table_landings_tac(
  ct,
  start_yr,
  end_yr,
  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-histroy.csv

start_yr

Start year for the table

end_yr

End year for the table. If past data range, the last year in d will be used

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 Jan. 14, 2025, 9:12 p.m.