Skip to contents

Set up a random vector

Usage

make_travel_eir_random(
  nStrata,
  options = list(),
  f_rand = stats::rlnorm,
  p1 = log(1/3650),
  p2 = 0.2
)

Arguments

nStrata

is the number of population strata

options

is a set of options that overwrites the defaults

f_rand

a random number generator

p1

argument for f_rand

p2

argument for f_rand

Value

a numeric vector