Changelog
Source:NEWS.md
pedbp 2.1.0
Bug Fixes
- Replace use of
Rf_error()withRcpp::stop()(#24) - Standardize blood pressure
height_percentileinputs to use percentile points on a 0 to 100 scale throughout the R interface. (#25)- Fix
bp_cdfandbp_charthandling of blood pressure height percentiles so plotting helpers no longer rescale or default to decimal-style values. - Align the Shiny blood pressure workflow with the package API so entered height percentiles are passed through on the 0 to 100 scale.
- Fix
pedbp 2.0.3
CRAN release: 2025-06-12
Bug Fixes
- correct a bug in the process of looking up the correct row based on derived percentiles. See commit dd02d8c.
Other changes
- Modify the testing scripts to account for changes in ggplot2 (re #23)
pedbp 2.0.0
CRAN release: 2024-04-23
Potential Breaking Changes
- API change to the growth standard distribution functions
- this includes a name change from “vital signs” to “growth standards”
- complete redo for how the methods are implemented
- extended data sources
- Use of the terms “percentile”, “distribution”, and “probability” are more robust. In v1 “percentile” could have referred to any of those terms. Now, percentile implies a value between 0 and 100, distribution (value) or probability, denoted with a p, are values between 0 and 1.
Additions and Major Changes
-
Added features to blood pressure distribution functions
- functions gain the argument
sourceto specify the reference values used to generate the percentiles. Default tomartin2022to keep the same functionality as version 1. - Add a new source of blood pressure percentiles called
flynn2017referencing Flynn, Joseph T., David C. Kaelber, Carissa M. Baker-Smith, Douglas Blowey, Aaron E. Carroll, Stephen R. Daniels, Sarah D. De Ferranti et al. “Clinical practice guideline for screening and management of high blood pressure in children and adolescents.” Pediatrics 140, no. 3 (2017). - Implementation has be moved into c++ and the speed improvement compared to version 1 is huge. v2 is more than 200 times faster than v1.
- functions gain the argument
Add
z_bpto return z-scores for blood pressure; a complement to the existingq_bpandp_bpmethods.Create S3 method for
bp_cdfplotting #9Extended the growth chart distribution data source to include the CDC (v1.0.0) and World Health Organization (WHO)
New “growth-standards” vignette
Add
gs_chartfor building growth standard chartsAdd
gs_cdffor building growth standard cumulative distribution functionsAdd
bp_chartfor building blood pressure chartsRebuild of the Shiny application to use the new features of v2.0.0
Improvements
-
est_normcallsstats::optimwithmethod = "L-BFGS-B",lower = c(-Inf, 0), andupper = c(Inf, Inf))to make sure the standard deviation estimate is non-negative. -
est_normchecks for sorted inputs.
pedbp 1.0.2
CRAN release: 2022-11-23
- Bug Fixes:
- Warning when age and height is out of the range in the provided data sets instead of error. This fixes (#5). The logic is still good. The known bug was when 35.5 < age < 36 for length_by_age_inf which only has age up to 35.5 but the logic for use of that set is age < 36. A warning will not be given if 35.5 < age < 36.