Learn R Programming

ClinTrialPredict (version 0.0.4)

ObsTime.OneArm: Calculate the observation time for a one-arm clinical trial

Description

Calculate the observation time for a one-arm clinical trial

Usage

ObsTime.OneArm(
  N = NULL,
  d = NULL,
  s = NULL,
  m = NULL,
  alpha = NULL,
  nu = NULL,
  gamma = NULL
)

Value

This function returns a list containing all design parameters, including the calculated observation time l.

Arguments

N

Number of subjects plan to enrolled

d

expected number of events observed at time l

s

enrollment period

m

maximum follow-up for a single subject

alpha

shape parameter of weibull survival distribution

nu

scale parameter of weibull survival distribution

gamma

parameter of the exponential distribution of censoring time

Examples

Run this code
ObsTime.OneArm(N=100,d=10,gamma=0.1,s=12,m=6,alpha=1,nu=20)

Run the code above in your browser using DataLab