mock_values: Mock Values

View source: R/mock.R

mock_valuesR 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


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