View source: R/posterior_plot.R
posterior_plot | R Documentation |
Creates a prior and posterior plot of an BFF object. If no specific omega was set when fitting the model, the omega resulting in maximum BF against the null hypothesis is selected.
posterior_plot(x, prior = FALSE, plot = TRUE, ...)
x |
a BFF object |
prior |
whether prior distribution should be added to the figure |
plot |
whether plot should be generated.
Default to |
... |
additional arguments to the plotting function. These include:
|
either a ggplot2 object if plot = TRUE
or a data.frame
with prior and posterior densities if plot = FALSE
[z_test_BFF()], [t_test_BFF()], [chi2_test_BFF()], [f_test_BFF()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.