deltaTime: Convert calendar date-time to the time difference comparing...

Description Usage Arguments

Description

Convert calendar date-time to the time difference comparing to the ICU admission time.

Usage

1
deltaTime(record, pseudotime = FALSE, units = "hours", tdiff = FALSE)

Arguments

record

ccRecord

pseudotime

logical If pseudotime is set to be TRUE, then the admission and discharge time will be set as the earliest and latest data stamp in the record.

units

units of delta time, which can be "hours", "mins", "days".

tdiff

if false the delta time will be written in numeric format.


cleanEHR documentation built on May 2, 2019, 6:40 a.m.