Skip to content

Commit 97394ac

Browse files
committed
fix error in example
1 parent c7b6eea commit 97394ac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/ppc-distributions.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565
#' color_scheme_set("brightblue")
6666
#' y <- example_y_data()
6767
#' yrep <- example_yrep_draws()
68+
#' group <- example_group_data()
6869
#' dim(yrep)
70+
#'
6971
#' ppc_dens_overlay(y, yrep[1:25, ])
7072
#' \donttest{
7173
#' # ppc_ecdf_overlay with continuous data (set discrete=TRUE if discrete data)
@@ -93,7 +95,6 @@
9395
#' # frequency polygons
9496
#' ppc_freqpoly(y, yrep[1:3, ], alpha = 0.1, size = 1, binwidth = 5)
9597
#'
96-
#' group <- example_group_data()
9798
#' ppc_freqpoly_grouped(y, yrep[1:3, ], group) + yaxis_text()
9899
#'
99100
#' # if groups are different sizes then the 'freq' argument can be useful

man/PPC-distributions.Rd

Lines changed: 2 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)