Calculate SDS values depending on the Tanner stage
sds_pub(
value,
pubstatus,
sex,
item,
ref,
type = "SDS",
male = "male",
female = "female"
)
vector containing SDS or percentile values
vector of measurement values
vector of Tanner stages coded 1 to 5
vector of sex
name of the item e.g. "height"
RefGroup object
"SDS" or "perc"
coding of sex for male
coding of sex for female
Mandy Vogel
The function takes a vector of measurement values, and of tanner stage and of sex and a RefGroup object as arguments. It calculates the sds or percentile values.