powered by
Calculate the expected number of events or number of subjects enrolled in a one-arm clinical trial
NumEventsSub.OneArm( N = NULL, d = NULL, l = NULL, gamma = NULL, s = NULL, m = NULL, alpha = NULL, nu = NULL, design1 = NULL )
This function returns a list containing all design parameters as the same with input parameters of this function.
Number of subjects plan to enrolled
expected number of events observed at time l
l
observation time
parameter of the exponential distribution of censoring time
enrollment period
maximum follow-up for a single subject
shape parameter of weibull survival distribution
scale parameter of weibull survival distribution
a list containing all the above parameters for one-arm design
# Calculate the expected number of events in a one-arm clinical trial NumEventsSub.OneArm(N=100,d=NULL,l=3,gamma=0.1,s=12,m=6,alpha=1,nu=20)
Run the code above in your browser using DataLab