calc_card_sofa.Rd
Finds the current cardiac score for the SOFA score
calc_card_sofa(.data, SBP, DBP, Vasopressor, Vasopressor_dose)
.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 |
cardiovascular_flag = calc_card_sofa(sofa_data, SBP = SBP, DBP = DBP, Vasopressor = Vasopressor, Vasopressor_dose = "Vasopressor Dosage")