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
unit
character string. Units in which the results are desired. Can be abbreviated.