properties_binom_one {EurosarcBayes}R Documentation

Properties for single-arm single binomial endpoint trial design

Description

Get frequentist and Bayesian properties for a single-arm single binomial endpoint trial design.

Usage

properties_binom_one(failure = NULL, success = NULL, reviews = NULL, 
	p0, p1, prior.a = 0, prior.b = 0, round = TRUE, cutpoints = NULL)

Arguments

failure

Vector of failures needed to stop the trial

success

Vector of successes needed to stop the trial

reviews

Vector of the number of patients at each analysis

p0

probability of success under H0

p1

probability of success under H1

prior.a, prior.b

beta prior parameters

round

Option whether to round results or not

cutpoints

Alternative usage, this replaces failure, success and reviews with a data.frame with columns of the same names

Value

Returns an object of class trialDesign_binom_one.


[Package EurosarcBayes version 1.1 Index]