mock_values | R Documentation |
mock values for a given reference, given age and given sex
mock_values(df, sex, age, ref, item)
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 |
the function creates random values for given age and sex values and a given reference
data frame containing the additional column with random numbers
mandy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.