prev_terms: This function adds columns enabling one to calculate...

Description Usage Arguments Value

Description

See the vignette for more details.

Usage

1
prev_terms(dat, event_date = "eventdate", year_fn = standard_years)

Arguments

dat

dataframe of longitudinal data

event_date

character name of the column used to identify clinical events

year_fn

function that determines how year start and end dates are calculated

Value

longitudinal data frame with incidence, prevalence and followup columns


rEHR documentation built on Jan. 23, 2017, 1 p.m.

Related to prev_terms in rEHR...