inferObservationPeriods: Construct an observation period table from a set of tables

Description Usage Arguments Value

Description

Takes one or more tables and returns a table of 'patient' observation periods basd on the first and last dates that are associated with the patients

Usage

1
2
inferObservationPeriods(..., patient_id = patient_id,
  time_match = "_date$")

Arguments

...

One or more tables

patient_id

specifies the column that corresponds to the patient ID (each observation period has only one of these), using non-standard evaluation

time_match

regular expression to match to columns that correspond to event times

Value

a table with three columns: patient_id, observation_period_start, observation_period_end


sverchkov/BaselineRegularization documentation built on May 9, 2019, 1:26 p.m.