Description Usage Arguments Value Author(s)
Plot outcomes posterior and prior distributions with object from bhlm
.
1 2 3 | bhlm.SDplots(bhlm_object, null_hypothesis, outcome_priors_data = NULL,
outcome_options = NULL, return_plots = FALSE,
density_estimation = "logspline", cum_prob = NULL, iter = 10000)
|
bhlm_object |
Object returned from |
null_hypothesis |
|
outcome_priors_data |
If not set, automatically samples from the prior distributions ( |
outcome_options |
Choose which outcomes should be plotted. Defaults to |
return_plots |
Return ggplot objects in |
density_estimation |
Log estimate the posterior and prior distributions for the plot. Non-log estimated plots are not yet fully implemented. |
cum_prob |
Print cummulated probability (from log estimated posterior distribution) at chosen point along (Not yet implemented). |
iter |
Number of iterations for sampling from prior distribution in automatic sampling. |
list
of outcomes with each element containing a plot and log estimation of the posterior distribution. T
he simulation data is also listed as "data".
Get plot: list$outcome$plot
Get Log estimate: list$outcome$log_est
Hugh Benjamin Zachariae
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.