Skip to content

Commit

Permalink
Update data_processing.R
Browse files Browse the repository at this point in the history
  • Loading branch information
emprestige committed Sep 24, 2024
1 parent 39e5870 commit 23aa751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analysis/data_processing.R
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ if (study_start_date < covid_season_min) {
#assign censoring indicator
rsv_secondary_censor = if_else(is.na(rsv_secondary_date), 1, 0),
#infer severe rsv outcome
# rsv_secondary_inf = if_else(rsv_secondary_censor == 0, 1, 0),
rsv_secondary_inf = if_else(rsv_secondary_censor == 0, 1, 0),
# #infer severe case date for second episode of rsv
# rsv_secondary_second_inf_date = case_when(
# is.na(rsv_secondary_second_date) & is.na(deregistration_date) & is.na(death_date) ~ study_end_date,
Expand Down

0 comments on commit 23aa751

Please sign in to comment.