Used in process_data
function
stage_check(sbp_stages = NULL, dbp_stages = NULL)
Checks whether the user supplied sbp_stages_alt
function argument is valid or not
Checks whether the user supplied dbp_stages_alt
function argument is valid or not
A list containing two vectors that each correspond to the SBP/DBP stages for use in further processing. If the function returns no error, the supplied vectors are valid. Function arguments are coerced to integer.