table_recruitment: Create a table of absolute recruitment and relative spawning...

View source: R/table-recruitment.R

table_recruitmentR Documentation

Create a table of absolute recruitment and relative spawning biomass medians and quantiles

Description

Create a table of absolute recruitment and relative spawning biomass medians and quantiles

Usage

table_recruitment(
  model,
  start_yr,
  end_yr,
  digits = 1,
  digits_dev = 3,
  scale = 1000,
  font_size = 8,
  header_font_size = 10,
  header_vert_spacing = 12,
  header_vert_scale = 1.2,
  ...
)

Arguments

model

A model, created by create_rds_file()

start_yr

Start year in table

end_yr

End year in table

digits

Number of decimal places to round recruitment values to

digits_dev

Number of decimal places to round recruitment deviation values to

scale

A scale factor to divide the recruitment by

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

An knitr::kable() object


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