Skip to contents

Simulate: risk

Usage

simulate_risk(config, usePoisson = TRUE, debug = TRUE, lean = FALSE)

Arguments

config

as retrieved by config_read()

usePoisson

should a poisson proccess (see function dose_perEvent()) be used to calculate the dose_perEvent (TRUE) or just the exposure_perEvent column (FALSE), (default: TRUE)

debug

print debug information (default: TRUE)

lean

if TRUE, a "lean" version of this function is called, see kwb.qmra:::simulate_risk_lean

Value

list with parameters of user defined random distribution and corresponding values