data(cdc2000)
## calculate 98th centile for weight in girls from birth to 19 years
round(
setNames(
LMS2z(x = 0:19, y = 2, sex = 2, measure = 'wt', ref = 'cdc2000',
toz = FALSE), 0:19), 1)
Run the code above in your browser using DataLab