stage_check {bp}R Documentation

Compatibility Checks for User-Supplied SBP/DBP Stages Vector

Description

Used in process_data function

Usage

stage_check(sbp_stages, dbp_stages)

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.


[Package bp version 1.0.1 Index]