Skip to content

Commit c7b6eea

Browse files
committed
reduce example runtime in ppc-distributions.R
1 parent 62e6407 commit c7b6eea

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

R/ppc-distributions.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,13 @@
8989
#' ppc_dens(y, yrep[200:202, ])
9090
#' }
9191
#'
92+
#' \donttest{
9293
#' # frequency polygons
9394
#' ppc_freqpoly(y, yrep[1:3, ], alpha = 0.1, size = 1, binwidth = 5)
9495
#'
9596
#' group <- example_group_data()
9697
#' ppc_freqpoly_grouped(y, yrep[1:3, ], group) + yaxis_text()
97-
#' \donttest{
98+
#'
9899
#' # if groups are different sizes then the 'freq' argument can be useful
99100
#' ppc_freqpoly_grouped(y, yrep[1:3, ], group, freq = FALSE) + yaxis_text()
100101
#' }
@@ -110,11 +111,11 @@
110111
#' ppc_pit_ecdf_grouped(y, yrep, group=group, prob=0.99, plot_diff = TRUE)
111112
#' }
112113
#'
114+
#' \donttest{
113115
#' # don't need to only use small number of rows for ppc_violin_grouped
114116
#' # (as it pools yrep draws within groups)
115117
#' color_scheme_set("gray")
116118
#' ppc_violin_grouped(y, yrep, group, size = 1.5)
117-
#' \donttest{
118119
#' ppc_violin_grouped(y, yrep, group, alpha = 0)
119120
#'
120121
#' # change how y is drawn

man/PPC-distributions.Rd

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)