R Shiny Apps from CPEG-GCEP

R is a comprehensive, open-source statistical programming environment available from the Comprehensive R Archive Network (CRAN) for Mac, Windows, and Linux. According to a recent editorial in the Journal of Statistical Software,

Attesting to the importance of R in studies of pediatric growth, the World Health Organization (WHO) used R GAMLSS to fit their standard (0-5y, 2006) and reference (5-19y, 2007) growth charts using the Lambda-Mu-Sigma (LMS) model; they currently offer R macros for calculating a variety of anthropometric Z scores based on these charts i.e. igrowup 0-5y and who2007 5-19y

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents with embedded R code and analyses. It can be further extended to support interactive R analyses hosted on a Shiny server.

The Canadian Pediatric Endocrine Group CPEG-GCEP is the official Canadian association for pediatric endocrinology. Our membership is comprised of pediatric endocrinologists, pediatric endocrine nurses, and pediatric subspecialty residents who are training to become endocrinologists. We are a highly collaborative and collegial group dedicated to caring for children and adolescents with endocrine disorders. To better support our membership, we have developed a comprehensive suite of Shiny tools for monitoring growth in both a clinical and research context, with both Z-score calculators (Zapps™) and growth chart plotters. For best performance, we recommend an HTML5-compliant browser e.g. Chrome, Safari, or Firefox. For the most part, our computational algorithms and LMS tables were provided by the original developers with one exception: Since the WHO did not provide weight-for-age beyond 10 years, these LMS tables are based on our published re-analysis of WHO/NCHS data.

Growth chart plotters for direct data entry


If you prefer to use an HTML5 web application to plot growth charts in your own browser, you will find these elsewhere on our site.

We are also happy to share our R, SAS, or Stata macros to calculate Z-scores. An Excel calculator (Windows only) and an Android app are also available.


Please feel free to contact us with questions or comments