Returns the number of recruited subjects at given time vector.
getNumberOfSubjects(time, ..., accrualTime = C_ACCRUAL_TIME_DEFAULT,
accrualIntensity = C_ACCRUAL_INTENSITY_DEFAULT,
maxNumberOfSubjects = NA_real_)A numeric vector with time values.
Ensures that all arguments are be named and that a warning will be displayed if unknown arguments are passed.
The assumed accrual time intervals for the study, default is
c(0,12) (see details).
A vector of accrual intensities, default is the relative
intensity 0.1 (see details).
If maxNumberOfSubjects > 0 is specified,
the end of accrual at specified accrualIntensity for the specified number of subjects is determined or
accrualIntensity is calculated at fixed end of accrual.
Returns a NumberOfSubjects object.
For details of the parameters accrualTime and accrualIntensity
see getSampleSizeSurvival.