View source: R/simulate_data.R
custom_enrollment | R Documentation |
DataSimEnrollment
ObjectCreate a DataSimEnrollment
Object
custom_enrollment(fun, label)
fun |
A function that takes one argument |
label |
A user-friendly label |
A DataSimEnrollment object
custom_enrollment(
fun = function(n) rpois(n, lambda = 5),
label = "Poisson enrollment distribution"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.