NumEventsSub.OneArm {ClinTrialPredict} | R Documentation |
Calculate the expected number of events or number of subjects enrolled in a one-arm clinical trial
Description
Calculate the expected number of events or number of subjects enrolled in a one-arm clinical trial
Usage
NumEventsSub.OneArm(
N = NULL,
d = NULL,
l = NULL,
gamma = NULL,
s = NULL,
m = NULL,
alpha = NULL,
nu = NULL,
design1 = NULL
)
Arguments
N |
Number of subjects plan to enrolled |
d |
expected number of events observed at time |
l |
observation time |
gamma |
parameter of the exponential distribution of censoring time |
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 |
design1 |
a list containing all the above parameters for one-arm design |
Value
This function returns a list containing all design parameters as the same with input parameters of this function.
Examples
# 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)
[Package ClinTrialPredict version 0.0.4 Index]