read_who_table: Read WHO growth tables

View source: R/read_who_table.R

read_who_tableR Documentation

Read WHO growth tables

Description

Provides a data frame of the WHO growth table for a given age, sex, and type of measurement.

Usage

read_who_table(sex = NULL, age = NULL, type = "wfa")

Arguments

sex,

either male or female

age

age in years

type

table type, choose from wfa (weight for age), lhfa (length for age)

Details

This function uses files included in system.file(package = "clinPK"). Previously this function also gave the option to download the tables from WHO, but the original URL ("http://www.who.int/entity/childgrowth/standards") no longer exists as of 2021-05-19.


InsightRX/clinPK documentation built on Feb. 28, 2024, 12:06 a.m.