read_who_table {clinPK}R 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.


[Package clinPK version 0.13.0 Index]