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/Nexus documentation built on March 10, 2020, 4:54 p.m.