Description
mock values for a given reference, given age and given sex
Usage
mock_values(df, sex, age, ref, item)
Value
data frame containing the additional column with random numbers
Arguments
- df
data frame containing the age and sex
- sex
name of the sex variable
- age
name of the age variable
- ref
a valid RefGroup object
- item
a valid imte present in ref
Details
the function creates random values for given age and sex values and a given reference