Learn R Programming

ProbBayes (version 1.1)

draw_two_p: 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.

Examples

Run this code
# NOT RUN {
  prob_matrix <- testing_prior()
  draw_two_p(prob_matrix, title="Testing Prior")
# }

Run the code above in your browser using DataLab