Description
mock a value for a given reference
Usage
mock_value(ref, item, sex = c("male", "female"), age)
Arguments
item
a valid item present in ref
Value
a random value from the conditional distribution (conditionally on age and sex)
Details
the function creates a random value for a given age and sex value and a given reference