reverse_whozr: Reverse z-score calculation

View source: R/functions.R

reverse_whozrR Documentation

Reverse z-score calculation

Description

Calculate original anthropometry from z-scores and LMS tables.

Usage

reverse_whozr(z, x, sex, ref, adjust_large_z = FALSE)

Arguments

z

z-score

x

Predictor, typically age

sex

Sex, coded as "F" and "M"

ref

Reference data. A tibble or data.frame with columns named sex, x,l, m and s

adjust_large_z

Were large z-scores shrunk towards +/-3? This is done in the WHO's "R macro" but not mentioned in any of the references cited at whozr.Should only be used for soft-tissue measures (WAZ, BAZ, ACAZ, TCAZ, WHZ, SSAZ), not for hard-tissue measures (HAZ, HCAZ).

Value

A vector y of anthropometry measures corresponding to y-for-x scores z.


simisc/whozr documentation built on March 24, 2023, 5:14 p.m.