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

View source: R/make.ss.bin.ppp.r

make.ss.bin.pppR Documentation

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)

Arguments

a.trt

prior alpha parameter

b.trt

prior beta parameter

n.trt

number of trials

x.trt

number of responses

Value

A ggplot object is returned.

Author(s)

Greg Cicconetti

Examples

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]]

GNGTools documentation built on Dec. 16, 2022, 5:09 p.m.