worst_inr: Worst INR.

Description Usage Arguments Details Value

View source: R/encounter_metrics.R

Description

worst_inr returns the worst (highest) INR for each encounter selected.

Usage

1
worst_inr(enc_info, labs)

Arguments

labs

data frame: provides events

  • chr: patient_id_encounter

  • chr: Variable.Name

  • num: Value

enc_info_df

data frame: provides the encounters of interest

  • chr: patient_id_encounter

Details

As per Nelson Sanchez-Pinto, worst INR = highest INR Return value will be 1 for encounters with no observations of INR (per Nelson Sanchez-Pinto).

Value

data_frame:


jcasse/icueval documentation built on May 18, 2019, 9:20 p.m.