| prob_wheel {abtest} | R Documentation |
Function for visualizing prior and posterior probabilities of the hypotheses as a probability wheel.
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
# 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")