You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sex, age and age_unit would define the variables to use from input dataset: e.g. sex = SEX, age = AAGECUR, age_unit = AAGECURU (age and age_unit are only needed if height_age argument is not NULL)
meta_criteria: metadata as defined in step 4 of MS Teams doc
parameter: the input dataset PARAMCD for which we want growth derivations: e.g. parameter = exprs(BMI = VSTESTCD == "BMI"). Options: “WEIGHT”
measure: the input dataset variable for which we find the length/height at each time point
height_age: the age in days at which the measure switches from body length to height as per the study CRF guidelines. If only ever length or height is used then leave this NULL and just feed in only the corresponding by length or height metadata (instead of the combined version which has both)
set_values_to_sds: variables to be set for zscore (SDS) parameter: e.g. set_values_to_sds(PARAMCD = “WGTHSDS”, PARAM = “Weight-for-length/height z-score”). If left blank then parameter not derived in output dataset.
set_values_to_pctl: variables to be set for percentile parameter: e.g. set_values_to_pctl(PARAMCD = “WGTHPCTL”, PARAM = “Weight-for-length/height Percentile”). If left blank then parameter not derived in output dataset.
Checks:
dataset
The variable for sex is in input dataset
The variables for age and age_unit are in input dataset if height_age is not NULL – age then first needs to get converted to DAYS using
The PARAMCD in parameter is available in input dataset as well as the variable in measure
the unit associated with each parameter is as expected (weight in kg)
metadata
has variables for MEASURE, SEX, HEIGHT_LENGTH, L, M, S
New function:
Arguments:
Checks:
Derivations:
Example function call:
The text was updated successfully, but these errors were encountered: