atLeast: Function to enumerate an minimal count of occurrences

View source: R/criteria.R

atLeastR Documentation

Function to enumerate an minimal count of occurrences

Description

Function to enumerate an minimal count of occurrences

Usage

atLeast(x, query, aperture = duringInterval(eventStarts(-Inf, Inf)))

Arguments

x

the integer counting the number of occurrences

query

a query object that provides context to the clinical event of interest

aperture

an eventAperture object that shows the temporal span where the event is to be observed relative to the index event

Value

A criteria that can be used in a cohort definition specifying satisfaction of at least x instances of a query


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