Learn R Programming

accrual (version 1.4)

accrual.n.inform: Prediction of Accrual with Informative Prior in Fixed Time Frame

Description

Produce an output for prediction of the number of participants can be recruited in a fixed time frame with Informative Prior.

Usage

accrual.n.inform(n, TT, P, m, tm, Tp)

Value

A list of prediction on the number of participants that will be recruited in a fixed time frame with Informative Prior.

Arguments

n

Target sample size

TT

Target completion time

P

The prior certainty, range 0-1

m

Sample observed to date

tm

Time to date

Tp

The specific time that want to predict the recruitment

Author

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

Examples

Run this code
accrual.n.inform(n=300, TT=36, P=0.5, m=100, tm=10, Tp=36)[[1]]

Run the code above in your browser using DataLab