Description Usage Arguments Details Value
Create a gt table comparing posteriors. Usually from quap
, brm
and inla
.
1 2 3 4 5 6 7 8 9 | gt_posterior_compare(
dfs,
var_df = names(dfs)[1],
var_col = "var",
labs = list(title = "Posterior Summary Comparison", subtitle = "Practice"),
.data_color = "mintcream",
.tab_options = NULL,
digits = 2L
)
|
dfs |
List of dataframes with posterior summaries. |
var_df |
Name of the summary to use as a reference for variable names. |
var_col |
Name of the column with the variables. |
labs |
List with the following items |
.data_color |
Data color used by |
.tab_options |
List of tab_options with the following defaults
|
digits |
Integer. Digits used to format data numbers. |
The list of summaries must meet these conditions
The summary called "var_df" in the list will be used to name the rows
All summaries must have the rows in the same order
All summaries must have the same column names
gt table of posterior summary comparison
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.