draw_two_p: Plot of Distribution of Two Proportions

Description Usage Arguments Value Author(s) Examples

View source: R/draw_two_p.R

Description

Constructs a graph of the probability distribution of two proportions

Usage

1
  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

1
2
  prob_matrix <- testing_prior()
  draw_two_p(prob_matrix, title="Testing Prior")

ProbBayes documentation built on March 13, 2020, 1:31 a.m.