deltaTime: convert calendar time data in a record to delta time...

Description Usage Arguments

Description

convert calendar time data in a record to delta time 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.


CC-HIC/ccdata documentation built on May 6, 2019, 9:23 a.m.