(Brief description of the function here.)
assign_groups(
sample_size,
sample_prob,
prob0,
prob1,
seed,
.rng_kind = NULL,
.rng_normal_kind = NULL,
.rng_sample_kind = NULL
)
list of group assignments
total number of people under observation.
a vector of probability weights for obtaining the elements of the vector being sampled.
vector probability of each possible outcome for the null group
vector probability of each possible outcome for the intervention group
integer specifying the seed number
seeding info passed to withr::with_seed
seeding info passed to withr::with_seed
seeding info passed to withr::with_seed