prepareBRDataFromEvents: Generate BR data from event table ( internal function )

Description Usage Arguments Value Author(s)

Description

Internal function that prepares date for [fitBaselineRegularization] from the output of a 'getEventsFrom*' function. This version uses functions not supported by SQLite.

Usage

1
prepareBRDataFromEvents(all_events, event, tying)

Arguments

all_events

Table of events with columns: 'obs_period_id', 'event_day', 'concept_id', 'event_flag', 'observation_period_length'

event

The event of interest the risk of which to estimate.

tying

The type of tying to use ('interval' or 'occurrence').

Value

Data for [fitBaselineRegularization].

Author(s)

Yuriy Sverchkov


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