computeInterval: Computes statistics between first and last dates

Description Usage Arguments Value

View source: R/computeInterval.R

Description

Computes the first and last date along with the time between, number, and mean number of days between dates.

Usage

1
computeInterval(data, dateColumn = "ObservationDate")

Arguments

data

A data frame with a PatientMRN and date column

dateColumn

A character vector giving the name of the date column

Value

Returns a data frame with the first and last date along with the time between, number, and mean number of days between dates.


davidcoffey/Diamonds documentation built on March 8, 2020, 12:34 a.m.