View source: R/table_timeseries.R
table_timeseries | R Documentation |
knitr::kable()
table objectCreate a knitr::kable()
table object
table_timeseries(
ps = NULL,
type = "ssb",
time = "mid",
ci = c(0.05, 0.5, 0.95),
decimals = 0,
by_country = FALSE,
scen = NULL,
yr_lim = c(NA_real_, NA_real_),
inc_mean = TRUE,
scen_names = NULL,
format = "latex",
...
)
ps |
A plot setup object as output by |
type |
One of 'ssb', 'ssb_ssb0', catch', 'aas', 'aac' |
time |
Either 'beg' for beginning of the year SSB or 'mid' for mid-year SSB.
Only used if |
ci |
A vector of credible interval values. 0.5 must be included if the median is desired. |
decimals |
The number of decimals to round values to |
by_country |
If TRUE, a table with country data side-by-side will be produced. If FALSE, a table with aggregated output will be produced |
scen |
The scenario number to use. This is an integer representing the names given by |
yr_lim |
A vector of 2 for minimum and maximum yrs to include in the table. If either are NA, the limits of the data are used. |
inc_mean |
If TRUE, include the mean in the table |
scen_names |
Names to show in the columns for scenarios. You can experiment by shortening names
so that the table fits on the page. If |
format |
See |
... |
Arguments passed to |
a knitr::kable()
table object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.