R/RcppExports.R
getAccrualDurationFromN.RdObtains the accrual duration to enroll the target number of subjects.
getAccrualDurationFromN(nsubjects, accrualTime, accrualIntensity)The vector of target number of subjects.
A vector that specifies the starting time of
piecewise Poisson enrollment time intervals. Must start with 0, e.g.,
c(0, 3) breaks the time axis into 2 accrual intervals:
\([0, 3)\) and \([3, \infty)\).
A vector of accrual intensities. One for each accrual time interval.
A vector of accrual durations.