Description Usage Arguments Details Value References Examples
This function plots the posterior densities obtained in Bayesian analyses. It plots either univariately the posterior densities obtained via Bayesian correlated t tests. Or, if either a Bayesian Sign, Signed Rank or Hierarchical correlated t test have been used, it plots the projection of 3-simplex points into a 2D triangle.
1 | plot_posterior(results, method, points = 1000)
|
results |
('character') |
method |
('character') |
points |
('double') |
The plot for Bayesian correlated t tests has first been implemented in scmamp. The plots for the other Bayesian tests have first been implemented in rNPBST.
('list')
List containing a 'gg' object.
https://github.com/b0rxa/scmamp https://github.com/JacintoCC/rNPBST
1 2 3 4 5 6 | ## Not run:
results <- b_signed_rank_test(df= test_benchmark_small,
baseline = "algo_1", algorithm = "algo_2")
plot_posterior(results, method = "b_signed_rank_test")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.