Skip to content

Commit

Permalink
Update log scaling to built in option
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinawlai committed Oct 30, 2024
1 parent 2f532a7 commit ea992a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vignettes/articles/enteric_fever_example.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,8 @@ We see that across countries, our data is highly skewed with the majority of res
xs_data %>%
mutate(Country = fct_relevel(Country, "Bangladesh", "Pakistan", "Nepal")) %>%
autoplot(strata = "Country", type = "density") +
autoplot(strata = "Country", type = "density", log = TRUE) +
scale_fill_manual(values = country_pal) +
scale_x_log10(labels = scales::label_comma()) +
labs(x = "Log Antibody Response Value")
```
Expand Down

0 comments on commit ea992a9

Please sign in to comment.