mock_value: Mock Value

View source: R/mock.R

mock_valueR 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


childsds documentation built on March 18, 2022, 7:55 p.m.