Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

cleanEHR (version 0.1)

getEpisodePeriod: Get the length of stay based on the first and the last data point.

Description

Get the length of stay based on the first and the last data point.

Usage

getEpisodePeriod(e, unit = "hours")

Arguments

e

ccEpisode object.

unit

character string. Units in which the results are desired. Can be abbreviated.

Value

length of stay