Description Usage Arguments Author(s) Examples
Function for visualizing prior and posterior probabilities of the hypotheses as a probability wheel.
1 | prob_wheel(x, type = "posterior")
|
x |
object of class |
type |
character indicating whether to plot a probability wheel
visualizing the prior probabilities of the hypotheses (i.e., |
Quentin F. Gronau
1 2 3 4 5 6 7 8 9 10 11 12 | # synthetic data
data <- list(y1 = 10, n1 = 28, y2 = 14, n2 = 26)
# Bayesian A/B test with default settings
ab <- ab_test(data = data)
print(ab)
# visualize prior probabilities of the hypotheses
prob_wheel(ab, type = "prior")
# visualize posterior probabilities of the hypotheses
prob_wheel(ab, type = "posterior")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.