Skip to content

Commit

Permalink
time windows
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Nov 15, 2024
1 parent 804adac commit 7a6bc36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/matchedDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ matchedDiagnostics <- function(cohort,
cli::cli_bullets(c("*" = "{.strong Running large scale characterisation}"))
results[["lsc"]] <- CohortCharacteristics::summariseLargeScaleCharacteristics(
cohort = cdm[[matchedCohortTable]],
window = list(c(-Inf, -366), c(-365, -31),
window = list(c(-Inf, -1), c(-Inf, -366), c(-365, -31),
c(-30, -1), c(0, 0),
c(1, 30), c(31, 365),
c(366, Inf)),
c(366, Inf), c(1, Inf)),
eventInWindow = c("condition_occurrence", "visit_occurrence",
"measurement", "procedure_occurrence",
"observation"),
Expand Down

0 comments on commit 7a6bc36

Please sign in to comment.