Skip to content

Commit

Permalink
exclude pax treated
Browse files Browse the repository at this point in the history
  • Loading branch information
Linda Nab committed Nov 14, 2023
1 parent a885a55 commit 55ea962
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion analysis/data_properties/describe_outcomes.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ data_filename <-
paste0(period[!period == "ba1"], "_"[!period == "ba1"],
"data_processed", ".rds")
data <-
read_rds(here::here("output", "data", data_filename))
read_rds(here::here("output", "data", data_filename)) %>%
filter(treatment_paxlovid_prim == "Untreated") # paxlovid treated only experience outcomes after
# treatment by design (_prim treatment cat); paxlovid treated will be censored after pax init,
# so we're not interested in number of outcomes in paxlovid treated group.
# subgroup if subgroup analysis
if (subgrp == "haem"){
data <-
Expand Down

0 comments on commit 55ea962

Please sign in to comment.