Skip to content

Commit

Permalink
Updated y-axis label on ecdf difference plots.
Browse files Browse the repository at this point in the history
  • Loading branch information
TeemuSailynoja committed Jan 19, 2024
1 parent c778513 commit d97e7d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/ppc-distributions.R
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ ppc_pit_ecdf <- function(y,
color = "yrep"
),
linetype = 2, show.legend = FALSE) +
labs(y = "ECDF", x = "PIT") +
labs(y = ifelse(plot_diff,"ECDF - difference","ECDF"), x = "PIT") +
yaxis_ticks(FALSE) +
scale_color_ppc() +
bayesplot_theme_get()
Expand Down Expand Up @@ -735,7 +735,7 @@ ppc_pit_ecdf_grouped <-
color = "yrep"
),
linetype = 2, show.legend = FALSE) +
labs(y = "ECDF", x = "PIT") +
labs(y = ifelse(plot_diff,"ECDF - difference","ECDF"), x = "PIT") +
yaxis_ticks(FALSE) +
bayesplot_theme_get() +
facet_wrap("group") +
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d97e7d9

Please sign in to comment.