accrual.T.plot: Plot for Prediction of Time

View source: R/accrual.T.plot.R

accrual.T.plotR Documentation

Plot for Prediction of Time

Description

Produce a plot and output for prediction of time frame for a certain number of participants.

Usage

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

Arguments

n

Target sample size

TT

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

np

The specific number of participants want to be predicted

Method

Informative Prior, Accelerated Prior, Hedging Prior

Value

A list of prediction and corresponding plot on time frame that needed for reaching a certain number of participants.

Author(s)

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

Examples

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

accrual documentation built on Nov. 27, 2023, 1:08 a.m.