draw_two_p {ProbBayes} | R Documentation |
Plot of Distribution of Two Proportions
Description
Constructs a graph of the probability distribution of two proportions
Usage
draw_two_p(prob_matrix, ...)
Arguments
prob_matrix |
matrix of probabilities of two proportions with the rows and columns labeled by the values |
... |
other arguments such as the title of the plot |
Value
ggplot2 object containing the graphical display.
Author(s)
Jim Albert
Examples
prob_matrix <- testing_prior()
draw_two_p(prob_matrix, title="Testing Prior")
[Package ProbBayes version 1.1 Index]