binom.PP.FB.MC: Full Bayes Power Prior

Description Usage Arguments Value

Description

Full Bayes Power Prior

Usage

1
2
binom.PP.FB.MC(x, n, verbose = FALSE, length = 30, d.prior.a = 1,
  d.prior.b = 1, mc.cores = 1, samples = 10000, focus)

Arguments

x

number of historical successes

n

number historical patients

verbose

Print messages

length

Number of points to evaluate density at

d.prior.a

shape1 parameter for beta prior on weights

d.prior.b

shape2 parameter for beta prior on weights

mc.cores

Number of cores for parallel

samples

Number of Monte Carlo samples

focus

List of triples specifying regions to focus on, eg peaks. Specified as list(c(lower, upper, length))

Value

A density function


StudyPrior documentation built on May 2, 2019, 5:54 p.m.