calc_card_sofa: SOFA Cardiac calculation function

View source: R/cardiac_sofa_score.R

calc_card_sofaR Documentation

SOFA Cardiac calculation function

Description

Finds the current cardiac score for the SOFA score

Usage

calc_card_sofa(.data, SBP, DBP, Vasopressor, Vasopressor_dose)

Arguments

.data

Your dataset

SBP

A numeric column that represents the systolic blood pressure

DBP

A numeric column that represents the diastolic blood pressure

Vasopressor

A character column that represents a list of vasopressors given to a patient

Vasopressor_dose

A numeric column that represents the dosage of vasopressor given, needs to be in mcg/kg/min

Value

Returns a dataset with a new column denoting if the cardivascular component of the SOFA score was met

Examples

cardiovascular_flag = calc_card_sofa(sofa_data, SBP = SBP, DBP = DBP, Vasopressor = Vasopressor, 
   Vasopressor_dose = "Vasopressor Dosage")

trentgillin/SepsisR documentation built on Nov. 26, 2022, 12:41 p.m.