Warning: The specified accrual time and intensity cannot be supplemented
automatically with the missing information; therefore further calculations are
not possible
Warning: The specified accrual time and intensity cannot be supplemented
automatically with the missing information; therefore further calculations are
not possible
kable(accrualTime)
endOfAccrualIsUserDefined
followUpTimeMustBeUserDefined
maxNumberOfSubjectsIsUserDefined
maxNumberOfSubjectsCanBeCalculatedDirectly
absoluteAccrualIntensityEnabled
accrualTime
accrualIntensity
maxNumberOfSubjects
piecewiseAccrualEnabled
FALSE
FALSE
TRUE
TRUE
FALSE
0
0.22
1000
TRUE
FALSE
FALSE
TRUE
TRUE
FALSE
6
0.33
1000
TRUE
Example: how to use accrual time object
Case 6 is not allowed and therefore an error will be shown:
[1] "Illegal argument: the calculation of 'followUpTime' for given 'maxNumberOfSubjects' and relative accrual intensities (< 1) can only be done if end of accrual is defined"
Case 7
followUpTime and absolute accrual intensity are given,
end of accrual and maxNumberOfSubjects shall be calculated
Warning: The specified accrual time and intensity cannot be supplemented
automatically with the missing information; therefore further calculations are
not possible
Warning: The specified accrual time and intensity cannot be supplemented
automatically with the missing information; therefore further calculations are
not possible
kable(accrualTime)
endOfAccrualIsUserDefined
followUpTimeMustBeUserDefined
maxNumberOfSubjectsIsUserDefined
maxNumberOfSubjectsCanBeCalculatedDirectly
absoluteAccrualIntensityEnabled
accrualTime
accrualIntensity
piecewiseAccrualEnabled
FALSE
TRUE
FALSE
FALSE
FALSE
0
0.22
FALSE
FALSE
TRUE
FALSE
FALSE
FALSE
6
0.33
FALSE
Example: how to use accrual time object
Case 8 is not allowed and therefore an error will be shown:
[1] "Illegal argument: the calculation of 'maxNumberOfSubjects' for given 'followUpTime' and relative accrual intensities (< 1) can only be done if end of accrual is defined"
How to show accrual time details
You can use a sample size or power object as argument for function getAccrualTime:
System: rpact 4.0.0, R version 4.3.3 (2024-02-29 ucrt), platform: x86_64-w64-mingw32
To cite R in publications use:
R Core Team (2024). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. https://www.R-project.org/. To cite package ‘rpact’ in publications use:
Wassmer G, Pahlke F (2024). rpact: Confirmatory Adaptive Clinical Trial Design and Analysis. R package version 4.0.0, https://www.rpact.com, https://github.com/rpact-com/rpact, https://rpact-com.github.io/rpact/, https://www.rpact.org.