Wrapper function for enrollment rate.

enrollment_rate(lambda = 0.3, time = NULL, .data = NULL)

Arguments

lambda

vector. Vector with different enrollment rate parameters.

time

vector. Vector with different cut-off times (knots) for lambda.

.data

NULL. This should not be changed by the user.

Value

A list with enrollment rate information.

Examples

enrollment_rate(lambda = c(0.3, 1), time = 25)
#> $lambda #> [1] 0.3 1.0 #> #> $lambda_time #> [1] 25 #>