accrual.n.plotR Documentation

Plot for Prediction of Accrual in Fixed Time Frame

Description

Produce a plot and output for prediction of the number of subjects can be recruited in a fixed time frame.

Usage

accrual.n.plot(n, T, P, m, tm, Tp, Method)

Arguments

n

Target sample size

T

Target completion time

P

The prior certainty, range 0-1; For Accelerated Prior, P = 1-m/n

m

Sample observed to date

tm

Time to date

Tp

The specific time that want to predict the recruitment

Method

Informative Prior, Accelerated Prior, Hedging Prior

Author(s)

Junhao Liu, Yu Jiang, Cen Wu, Steve Simon, Matthew S. Mayo, Rama Raghavan, Byron J. Gajewski

Examples

accrual.n.plot(n=300, T=36, P=0.5, m=100, tm=10, Tp=36, Method="Informative Prior")
accrual.n.plot(n=300, T=36, m=100, tm=10, Tp=36, Method="Accelerated Prior")
accrual.n.plot(n=300, T=36, m=100, tm=10, Tp=36, Method="Hedging Prior")