get_lms: Get LMS parameters function

View source: R/growth_functions.R

get_lmsR Documentation

Get LMS parameters function

Description

Function to interpolate LMS parameters, given age, gender, chart, and measure

Usage

get_lms(age, gender, chart, measure = "weight")

Arguments

age

Vector of ages

gender

Vector of gender, either 'm' or 'f'

chart

Which chart to obtain LMS parameters for

measure

Which measure for the chart. Defaults to 'weight'

Examples

get_lms(c(11.5, 11.5), c('m', 'f'), chart = 'cdc_2000_infant', measure = 'weight')

jhchou/peditools documentation built on Dec. 22, 2024, 3:35 a.m.