View source: R/table-param-est-last-year-hardcoded.R
table_param_est_last_year_hardcoded | R Documentation |
kableExtra::kbl()
containing a comparison of parameter
estimates for 1 model compared to hard coded values for the base
model in 2023. This function is meant to be destroyed after the
2024 assessment season. It is used for table 26 only because we
could not locate the output files to reproduce the table.Returns a kableExtra::kbl()
containing a comparison of parameter
estimates for 1 model compared to hard coded values for the base
model in 2023. This function is meant to be destroyed after the
2024 assessment season. It is used for table 26 only because we
could not locate the output files to reproduce the table.
table_param_est_last_year_hardcoded(
d = NULL,
model = NULL,
model_nms = NULL,
show_loglike = FALSE,
section_row_inds = c(1, 11, 20, 21 + length(large_cohorts)),
section_row_headers = c("Parameters", "Derived Quantities",
paste0("Reference Points based on ", fspr_40_bold_for_latex_table),
"Negative log likelihoods"),
section_italics = TRUE,
section_bold = TRUE,
section_underline = TRUE,
section_line_above = FALSE,
section_line_below = TRUE,
digits = 3,
right_cols_cm = 1.8,
font_size = 10,
header_font_size = 10,
header_vert_spacing = 12,
header_vert_scale = 1.2,
longtable = FALSE,
caption = NULL,
...
)
model |
A list of models which contain the MCMC output |
model_nms |
A vector of names of the same length as the number of models in the models list |
show_loglike |
Logical. If |
section_italics |
Logical. If |
section_bold |
Logical. If |
section_underline |
Logical. If |
section_line_above |
Logical. If |
section_line_below |
Logical. If |
digits |
Number of decimal points for the estimates |
right_cols_cm |
The number of centimeters wide to make all of the rightmost columns (all the value columns) |
font_size |
The table data and header font size in points |
header_font_size |
The font size for the headers only. If |
header_vert_scale |
Scale factor to create the vertical spacing value.
See |
longtable |
Logical. Passed to |
caption |
The table caption, or |
... |
Arguments passed to |
vert_spacing |
The vertical spacing between newlines for this font.
If |
An knitr::kable()
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.