Description Usage Arguments Value Examples
Graphs posterior, prior (Distribution 1), and likelihood (Distribution 2). Requires ggplot2.
1 2 3 4 5 6 7 8 9 10 | graph_bayes(
est_1,
se_1,
est_2,
se_2,
est_pooled = NULL,
se_pooled = NULL,
x_min = -0.075,
x_max = 0.075
)
|
est_1 |
Point estimate of Distribution 1 |
se_1 |
Standard error on point estimate of Distribution 2 |
est_2 |
Point estimate of Distribution 2 |
se_2 |
Standard error on point estimate of Distribution 2 |
est_pooled |
Point estimate of posterior, defaults to NULL (calculate automatically) |
se_pooled |
Standard error of posterior, defaults to NULL (calculate automatically) |
x_min |
Minimum value on x axis. |
x_max |
Maximum value on x axis. |
ggplot2 object
1 | graph_bayes(0, 0.01, 0.05, 0.01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.