Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
malcolmbarrett committed Jan 8, 2025
1 parent 56c5e6d commit a9fe112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/03-po-counterfactuals.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ data_observed <- data |>
exposure = ifelse(
rbinom(n(), 1, 0.5) == 1, "chocolate", "vanilla"
),
exposure = mixup(exposure),
exposure = mix_up(exposure),
observed_outcome = case_when(
exposure == "chocolate" ~ y_chocolate,
exposure == "vanilla" ~ y_vanilla
Expand Down

0 comments on commit a9fe112

Please sign in to comment.