Learn R Programming

childsds (version 0.9.11)

sds_pub: Calculate SDS Values

Description

Calculate SDS values depending on the Tanner stage

Usage

sds_pub(
  value,
  pubstatus,
  sex,
  item,
  ref,
  type = "SDS",
  male = "male",
  female = "female"
)

Value

vector containing SDS or percentile values

Arguments

value

vector of measurement values

pubstatus

vector of Tanner stages coded 1 to 5

sex

vector of sex

item

name of the item e.g. "height"

ref

RefGroup object

type

"SDS" or "perc"

male

coding of sex for male

female

coding of sex for female

Author

Mandy Vogel

Details

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.