mock_value {childsds}R Documentation

Mock Value

Description

mock a value for a given reference

Usage

mock_value(ref, item, sex = c("male", "female"), age)

Arguments

ref

a valid RefGroup object

item

a valid item present in ref

sex

character male or female

age

numeric age value

Details

the function creates a random value for a given age and sex value and a given reference

Value

a random value from the conditional distribution (conditionally on age and sex)

Author(s)

mandy


[Package childsds version 0.8.0 Index]