table_age_data: Creates a table containing single-fleet age proportions which...

View source: R/table-age-data.R

table_age_dataR Documentation

Creates a table containing single-fleet age proportions which are input into the model

Description

Creates a table containing single-fleet age proportions which are input into the model

Usage

table_age_data(
  fleet = c("can_ft", "can_ss", "can_jv", "us_cp", "us_ms", "us_sb"),
  start_yr,
  end_yr,
  digits = 2,
  font_size = 10,
  header_font_size = 10,
  header_vert_spacing = 12,
  header_vert_scale = 1.2,
  ...
)

Arguments

fleet

Use codes of can_ft = Canada Freezer trawlers, can_ss = Canada Shoreside, can_jv = Canada Joint venture, us_cp = U.S. Catcher- processor, us_ms = U.S. Mothership, or us_sb = U.S. Shore-based

start_yr

Start year in table

end_yr

End year in table

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.