Skip to contents

Set up a random vector

Usage

make_blood_search_weights_random(
  nStrata,
  optionStrata = list(),
  f_rand = stats::rlnorm,
  p1 = 0,
  p2 = 0.5
)

Arguments

nStrata

is the number of population strata

optionStrata

is a set of optionStrata that overwrites the defaults

f_rand

a random number generator

p1

argument for f_rand

p2

argument for f_rand

Value

a numeric vector