get_ys_norm {adaptr} | R Documentation |
Generate normally distributed continuous outcomes
Description
Used internally. Function factory used to generate a function that generates outcomes from normal distributions.
Usage
get_ys_norm(arms, means, sds)
Arguments
arms |
character vector, |
means |
numeric vector, true |
sds |
numeric vector, true standard deviations ( |
Value
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).
[Package adaptr version 1.4.0 Index]