Skip to contents

Set up a random vector

Usage

make_time_away_random(
  nStrata,
  options = list(),
  f_rand = stats::rbeta,
  p1 = 50,
  p2 = 1000
)

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