table_risk | R Documentation |
Creates LaTeX code to make a probability of risk table with various probabilities of things happening with the stock
table_risk(
model,
forecast_yrs,
index = 1,
digits = 2,
type = c("probability", "percent"),
font_size = 10,
header_font_size = 10,
header_vert_spacing = 12,
header_vert_scale = 1.2,
...
)
model |
A model from this project |
forecast_yrs |
A vector of forecast years |
index |
Index for which forecast year data to use. e.g. 1 = second forecast year compared to the first. If there were N forecast years, this can be from 1 to N-1 |
digits |
The number of decimal places to print in the table output |
type |
One of |
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 |
... |
Arguments passed to |
vert_spacing |
The vertical spacing between newlines for this font.
If |
LaTeX code to render the table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.