Subset cohorts using specified limit criteria
createLimitSubset(
name = NULL,
priorTime = 0,
followUpTime = 0,
limitTo = "all",
calendarStartDate = NULL,
calendarEndDate = NULL
)
Name of operation
Required prior observation window
Required post observation window
character one of: "firstEver" - only first entry in patient history "earliestRemaining" - only first entry after washout set by priorTime "latestRemaining" - the latest remaining after washout set by followUpTime "lastEver" - only last entry in patient history inside
Note, when using firstEver and lastEver with follow up and washout, patients with events outside this will be censored. The "firstEver" and "lastEver" are applied first. The "earliestRemaining" and "latestRemaining" are applied after all other limit criteria are applied (i.e. after applying prior/post time and calendar time).
End date to allow periods (e.g. 2020/1/1/)
Start date to allow period (e.g. 2015/1/1)