table_input_age_data: Creates a table containing the age data which are input into...

View source: R/tables-input-age-data.R

table_input_age_dataR Documentation

Creates a table containing the age data which are input into the model

Description

Creates a table containing the age data which are input into the model

Usage

table_input_age_data(
  model,
  fleet = c("fishery", "survey"),
  start_yr,
  end_yr,
  digits = 2,
  font_size = 10,
  header_font_size = 10,
  header_vert_spacing = 12,
  header_vert_scale = 1.2,
  ...
)

Arguments

model

A model, created by create_rds_file()

fleet

Use codes of fishery = Commercial fishery and survey = Acoustic age 2+ survey

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.