Learn R Programming

GNGTools (version 1.0.0)

make.ss.bin.ppp: Make single sample binary prior/posterior plot

Description

Make single sample binary prior/posterior plot

Usage

make.ss.bin.ppp(a.trt = 1, b.trt = 1, n.trt = 40, x.trt = 20)

Value

A ggplot object is returned.

Arguments

a.trt

prior alpha parameter

b.trt

prior beta parameter

n.trt

number of trials

x.trt

number of responses

Author

Greg Cicconetti

Examples

Run this code
my.ss.bin.ppp <- make.ss.bin.ppp(a.trt = 1, b.trt = 1, n.trt = 40, x.trt = 20)
my.ss.bin.ppp[[1]]
my.ss.bin.ppp[[2]]

Run the code above in your browser using DataLab