Computation of the WHO Child Growth Standards
Overview
Provides WHO Child Growth Standards (z-scores) with confidence intervals and standard errors around the prevalence estimates, taking into account complex sample designs. More information on the methods is available online: https://www.who.int/tools/child-growth-standards.
Method
- The
Weight-for-length/height (zwfl)z-score indicator is now also computed for observations whereweightorlenheiis outside the plausible ranges. The plausible ranges were 0.9-58 forweightand 38-150 forlenhei.
Z-scores
- The resulting data frame of
anthro_zscoreshas a new columnc9mo_flagto indicate whether an incorrect measurement position was observed with children younger than 9 months.
Performance
- For inputs with
cluster/strata = NULLa faster method was added for this special case to computeanthro_prevalence. This method yields the same results within an observed tolerance of< 0.0001on test data.
Show all changes in 1.1.0Hide the rest of the changes in 1.1.0
Bugfix
- Fixed a bug during prevalence computation when a value used as a group (like sex) contains
NAand at the same time all values in that group areNAas well. Previously this resulted in a hard stop of the computation, now the code gracefully handles it.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8includes a package overview page
- Examples that run
- 50%1 run in a plain check · 1 never run
- Exported functions with examples
- 29%
- Documented parameters
- 100%
- Return-value docs
- 29%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/worldhealthorganization/anthro on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Installing anthro adds 7 packages (4 with compiled code, 6.2 MB of source tarballs). Heaviest: survey 2.3 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
Previously maintained by Dirk Schumacher (0.9.1 to 1.0.1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.12023-09-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 1.0.02021-11-18 · diff ↗ ·
added 5 exports
anthro_api_compute_prevalence, anthro_api_compute_zscore, anthro_api_compute_zscore_adjusted, anthro_api_standardize_oedema_var, anthro_api_standardize_sex_var - RR 4.1.0 released · 2021-05-18
- 0.9.42020-10-30 · diff ↗
- 0.9.32020-05-21 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.9.22020-01-08 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.9.12019-03-23
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-03-23
- Total releases
- 7 / 7 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.2
- Download size
- 233 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("anthro")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.