Used internally. Function factory used to generate a function that generates outcomes from normal distributions.
get_ys_norm(arms, means, sds)A function which takes the argument allocs (a character vector
with the allocations) and returns a numeric vector of the same length with
the corresponding, randomly generated outcomes (from normal distributions).
character vector, arms as specified in setup_trial_norm().
numeric vector, true means in all arms as specified in
setup_trial_norm().
numeric vector, true standard deviations (sds) in all arms as
specified in setup_trial_norm().