Description Usage Arguments Value Author(s) Examples
Constructs a graph of the probability distribution of two proportions
1 | draw_two_p(prob_matrix, ...)
|
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 |
ggplot2 object containing the graphical display.
Jim Albert
1 2 | prob_matrix <- testing_prior()
draw_two_p(prob_matrix, title="Testing Prior")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.