stage_check: Compatibility Checks for User-Supplied SBP/DBP Stages Vector

View source: R/helper_functions.R

stage_checkR Documentation

Compatibility Checks for User-Supplied SBP/DBP Stages Vector

Description

Used in process_data function

Usage

stage_check(sbp_stages = NULL, dbp_stages = NULL)

Arguments

sbp_stages

Checks whether the user supplied sbp_stages_alt function argument is valid or not

dbp_stages

Checks whether the user supplied dbp_stages_alt function argument is valid or not

Value

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.


bp documentation built on May 10, 2022, 5:12 p.m.