Skip to content

Commit 62e4b18

Browse files
authored
Merge pull request #164 from silberzwiebel/facet_relabel
add grouped PPC example for facet_relabel_gg
2 parents 6b86e13 + 96da3a7 commit 62e4b18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/bayesplot-helpers.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@
234234
#' facet_vars(p4)
235235
#'
236236
#' # relabeling facets in grouped PPC plots
237+
#' pgroup <- ppc_scatter_avg_grouped(example_y_data(), example_yrep_draws(), example_group_data())
238+
#' pgroup <- facet_relabel_gg(pgroup, labels = c("GroupA" = "apples", "GroupB" = "oranges"))
237239
#'
238240
#'
239241
#'

0 commit comments

Comments
 (0)