Learn R Programming

crmPack (version 2.1.0)

RecruitmentUnlimited-class: RecruitmentUnlimited

Description

[Experimental]

RecruitmentUnlimited allows unlimited recruitment of backfill patients. There is no constraint on the number of backfill patients relative to the main trial cohort size.

Usage

RecruitmentUnlimited()

.DefaultRecruitmentUnlimited()

Arguments

See Also

Recruitment and the other subclasses listed in there.

Examples

Run this code
# Create a RecruitmentUnlimited object
recruitment <- RecruitmentUnlimited()
print(recruitment)

# Calculate maximum recruits for an active cohort of size 10
max_recruits <- maxRecruits(recruitment, active_cohort_size = 10)
print(max_recruits) # Practically unlimited (1e6)

Run the code above in your browser using DataLab