startDate: Function that creates a start date attribute

View source: R/attributes-op.R

startDateR Documentation

Function that creates a start date attribute

Description

Function that creates a start date attribute

Usage

startDate(op, type = "occurrence")

Arguments

op

an opAttribute object must be a date that defines the logical operation used to determine eligible start dates

type

specify the type of date to use either occurrence or era. default as occurrence

Value

An attribute that can be used in a cohort definition


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