interim (version 0.8.0)

capacity: Scheduling interim analyses in clinical trials

Description

Function capacity calculates the maximum number of enrollments for a recruitment in scenario 4.

Usage

capacity(nc, ns, sf)

Arguments

nc

maximum number of centers to be opened.

ns

maximum number of patients to be screened within each center.

sf

screening failure rate.

Value

The maximum number of patients that can be enrolled.

Details

capacity is an auxilliary function to determine the maximum number of patients that can be enrolled in the scenario where only a limited number of centers is available and each center only has a limited number of patients that can be enrolled.

See Also

recruitment for simulating recruitment scenarios

Examples

Run this code
# NOT RUN {
mE=capacity(nc=40,ns=10,sf=0.3)
recruitment(nc=40,ns=10,cw=4,sw=2,sf=0.3,tb=4,en=mE)
# }

Run the code above in your browser using DataLab