Skip to content

Commit

Permalink
update reprex figure
Browse files Browse the repository at this point in the history
  • Loading branch information
avallecam committed Oct 4, 2020
1 parent bd107bc commit 7530992
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
37 changes: 19 additions & 18 deletions docs/articles/howto-reprex.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions vignettes/howto-reprex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -443,15 +443,16 @@ outcome_01_adj_tbl %>%

```{r}
outcome_01_adj_tbl %>%
filter(str_detect(numerator,"outcome")) %>%
ggplot_prevalence_ii(
denominator_level = denominator_level,
numerator = numerator,
proportion = prop,
proportion_upp = prop_upp,
proportion_low = prop_low) +
theme(axis.text.x = element_text(angle = 0, vjust = 0, hjust=0)) +
coord_flip() +
facet_wrap(denominator~.,scales = "free_y") +
# coord_flip() +
facet_wrap(denominator~.,scales = "free") +
# facet_grid(denominator~.,scales = "free_y") +
colorspace::scale_color_discrete_qualitative() +
labs(title = "Prevalence of numerators across denominators",
Expand Down

0 comments on commit 7530992

Please sign in to comment.