knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

centile

Lifecycle: experimental CRAN status R-CMD-check

The centile package

The currently supported distributions are normal (NO), Lambda-Mu-Sigma (LMS), Box-Cox Green Cole (BCCG), Box-Cox Power Exponential (BCPE) and Box-Cox t (BCT).

Installation

You can install the development version of centile with:

remotes::install_github("growthcharts/centile")

Examples

Generate a reference table for the WHO Multicentre Growth Standard for weight of boys aged 0-5 years:

library(centile)
calculate_centile_table(x = 0:5, z = -2:2, refcode = "who_2006_wgt_male_")

We obtain percentiles as follows:

library(centile)
calculate_centile_table(x = 0:5, p = c(10, 50, 90), refcode = "who_2006_wgt_male_")


growthcharts/yzy documentation built on Oct. 28, 2024, 10:32 a.m.