| CohortSizeRandom-class | R Documentation |
CohortSizeRandomCohortSizeRandom is the class for random cohort sizes drawn from a
uniform distribution between min_size and max_size (inclusive).
CohortSizeRandom(min_size, max_size)
.DefaultCohortSizeRandom()
min_size |
( |
max_size |
( |
min_size(integer)
minimum cohort size.
max_size(integer)
maximum cohort size.
Typically, end users will not use the .DefaultCohortSizeRandom() function.
# Random cohort size between 1 and 5.
my_size <- CohortSizeRandom(min_size = 1, max_size = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.