Skip to content

Commit 4e4b46c

Browse files
committed
use prettier x-axis labels
1 parent 4b79f92 commit 4e4b46c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

R/ppc-loo.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ ppc_loo_pit_overlay <- function(y,
190190
na.rm = TRUE) +
191191
scale_x_continuous(
192192
limits = c(0, 1),
193-
expand = expansion(0, 0.01)
193+
expand = expansion(0, 0.01),
194+
breaks = seq(0, 1, by = 0.25),
195+
labels = c("0", "0.25", "0.5", "0.75", "1")
194196
)
195197

196198
} else {

man/PPC-loo.Rd

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)