fixedExit: Function to create an exit based on exit based on the end of...

View source: R/exit.R

fixedExitR Documentation

Function to create an exit based on exit based on the end of a continuous drug exposure

Description

Function to create an exit based on exit based on the end of a continuous drug exposure

Usage

fixedExit(index = c("startDate", "endDate"), offsetDays)

Arguments

index

specification of event date to offset. Can be either startDate or endDate

offsetDays

an number specifying the days to offset from the event date. Will coerce to an integer

Value

a fixed Duration exit S4 object used to define the cohort exit as the end of a specified time


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