mock_values {childsds}R Documentation

Mock Values

Description

mock values for a given reference, given age and given sex

Usage

mock_values(df, sex, age, ref, item)

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

Value

data frame containing the additional column with random numbers

Author(s)

mandy


[Package childsds version 0.8.0 Index]