eventEnds: Function creates an event window where the event ends

View source: R/window.R

eventEndsR Documentation

Function creates an event window where the event ends

Description

Function creates an event window where the event ends

Usage

eventEnds(a, b, index = c("startDate", "endDate"))

Arguments

a

the left side of the event window

b

the right side of the event window

index

specifying what part of the index we start looking for events either at the index start date or index enddate

Value

An event window that can be used in a Capr cohort definition


OHDSI/Capr documentation built on Feb. 20, 2025, 4 a.m.