Learn R Programming

GNGTools (version 1.0.0)

make.ts.bin.ppp: 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
)

Value

A list is returned.

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

Examples

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

Run the code above in your browser using DataLab