make.ts.bin.ppp: Make two-sample binary prior/posterior plot

make.ts.bin.pppR Documentation

Make two-sample binary prior/posterior plot

Description

Make two-sample binary prior/posterior plot

Usage

make.ts.bin.ppp(
  a.con = 1,
  b.con = 1,
  n.con = 40,
  x.con = 9,
  a.trt = 1,
  b.trt = 1,
  n.trt = 40,
  x.trt = 17
)

Arguments

a.con

prior alpha parameter for control group

b.con

prior beta parameter for control group

n.con

number of trials for control group

x.con

number of responses for control group

a.trt

prior alpha parameter for treatment group

b.trt

prior alpha parameter for treatment group

n.trt

number of trials for treatment group

x.trt

number of responses for treatment group

Value

A list is returned.

Examples

my.ts.bin.ppp <- make.ts.bin.ppp()
my.ts.bin.ppp[[1]]
my.ts.bin.ppp[[2]]

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