bp_cdf {pedbp} | R Documentation |
Plot the CDF for blood pressure given age, sex, and height.
bp_cdf(
age,
male,
height = NA,
height_percentile = 0.5,
sbp = NA,
dbp = NA,
...
)
age |
numeric age, in months |
male |
integer value, 1 = male, 0 = female, indicating sex of the patient |
height |
numeric, in centimeters, can be missing. This is the length for patients under three years of age |
height_percentile |
default height percentile to use if |
sbp , dbp |
observed values to plot on the CDF |
... |
not currently used |
a ggplot2
graphic showing the CDF for diastolic and systolic
blood pressures with vertical and horizontal lines highlight the percentile
for the given inputs.
bp_cdf(age = 96, male = 1, sbp = 103, dbp = 55)