Adds BP_CLASS, SBP_Category, and DBP_Category columns to supplied dataframe.
bp_stages(
data,
sbp,
dbp,
inc_low = TRUE,
inc_crisis = TRUE,
data_screen = TRUE,
SUL = 240,
SLL = 50,
DUL = 140,
DLL = 40,
adj_sbp_dbp = TRUE
)
User-supplied dataset containing blood pressure data. Must contain data for Systolic blood pressure and Diastolic blood pressure at a minimum.
column name corresponding to systolic blood pressure (SBP)
column name corresponding to diastolic blood pressure (DBP)
A TRUE / FALSE indicator of whether or not to include the "Low" (Hypotension) category to the scatter plot. The range for Hypotension is set from a minimum of 25 for DBP or 80 for SBP, or the corresponding minimum value for either category from the data until 60 for DBP and 100 for SBP.
A TRUE / FALSE indicator of whether or not to include the Hypertensive "Crisis" category to the scatter plot. The range for crisis is any value above 180 for SBP or above 120 for DBP.
Default to TRUE. data_screens for extreme values in the data for both SBP
and DBP
according to Omboni, et al (1995) paper - Calculation of Trough:Peak Ratio of Antihypertensive Treatment
from Ambulatory Blood Pressure: Methodological Aspects
Systolic Upper Limit (SUL). If data_screen = TRUE
, then SUL
sets the upper limit by which
to exclude any SBP
values that exceed this threshold. The default is set to 240 per Omboni, et al (1995)
paper - Calculation of Trough:Peak Ratio of Antihypertensive Treatment from Ambulatory Blood Pressure:
Methodological Aspects
Systolic Lower Limit (SLL). If data_screen = TRUE
, then SLL
sets the lower limit by which
to exclude any SBP
values that fall below this threshold. The default is set to 50 per Omboni, et al (1995)
paper - Calculation of Trough:Peak Ratio of Antihypertensive Treatment from Ambulatory Blood Pressure:
Methodological Aspects
Diastolic Upper Limit (DUL). If data_screen = TRUE
, then DUL
sets the upper limit by which
to exclude any DBP
values that exceed this threshold. The default is set to 140 per Omboni, et al (1995)
paper - Calculation of Trough:Peak Ratio of Antihypertensive Treatment from Ambulatory Blood Pressure:
Methodological Aspects
Diastolic Lower Limit (DLL). If data_screen = TRUE
, then DLL
sets the lower limit by which
to exclude any DBP
values that fall below this threshold. The default is set to 40 per Omboni, et al (1995)
paper - Calculation of Trough:Peak Ratio of Antihypertensive Treatment from Ambulatory Blood Pressure:
Methodological Aspects
Logical indicator to dictate whether or not to run helper functions that adjust / process
SBP & DBP columns in supplied data set. Default set to: adj_sbp_dbp = TRUE
A dataframe with additional columns corresponding to the stages of high blood pressure and the supplementary SBP / DBP categories
Supplied dataframe must adhere to the unified format using the process_data
function.
Omboni, S., Parati, G*., Zanchetti, A., Mancia, G. Calculation of trough: peak ratio of antihypertensive treatment from ambulatory blood pressure: methodological aspects Journal of Hypertension. October 1995 - Volume 13 - Issue 10 - p 1105-1112 10.1097/00004872-199510000-00005
# NOT RUN {
# Load bp_hypnos
data(bp_hypnos)
bp_stages(bp_hypnos, sbp = "syst", dbp = "diast")
# Load bp_jhs data
data(bp_jhs)
bp_stages(bp_jhs, sbp = "sys.mmhg.", dbp = "dias.mmhg.")
# }
Run the code above in your browser using DataLab