Class for the definition of accrual time and accrual intensity.
endOfAccrualIsUserDefinedIf TRUE, the end of accrual has to be defined by the user (i.e., the length of accrualTime is equal to the length of accrualIntensity -1). Is a single logical value.
followUpTimeMustBeUserDefinedSpecifies whether follow up time needs to be defined or not. Is a single logical value.
maxNumberOfSubjectsIsUserDefinedIf TRUE, the maximum number of subjects has been specified by the user, if FALSE, it was calculated.
maxNumberOfSubjectsCanBeCalculatedDirectlyIf TRUE, the maximum number of subjects can directly be calculated. Is a single logical value.
absoluteAccrualIntensityEnabledIf TRUE, absolute accrual intensity is enabled. Is a single logical value.
accrualTimeThe assumed accrual time intervals for the study. Is a numeric vector.
accrualTimeOriginalThe original accrual time intervals before extending the last interval to recruit the remaining subjects. Is NA if no extension is required. Is a numeric vector.
accrualIntensityThe absolute accrual intensities. Is a numeric vector of length kMax.
accrualIntensityRelativeThe relative accrual intensities.
maxNumberOfSubjectsThe maximum number of subjects for power calculations. Is a numeric vector.
remainingTimeIn survival designs, the remaining time for observation. Is a single numeric value.
piecewiseAccrualEnabledIndicates whether piecewise accrual is selected. Is a single logical value.
AccrualTime is a class for the definition of accrual time and accrual intensity.