knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The centile
package
R
objects;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
).
You can install the development version of centile
with:
remotes::install_github("growthcharts/centile")
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_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.