|
22 | 22 | #' |
23 | 23 | #' @section Plot Descriptions: |
24 | 24 | #' \describe{ |
25 | | -#' \item{`ppc_data()`}{ |
26 | | -#' This function prepares data for plotting with **ggplot2**. It is a |
27 | | -#' general-purpose data-preparation helper used by many `ppc_*()` plotting |
28 | | -#' functions, and users can call it directly to create custom PPC plots using |
29 | | -#' ggplot2. The function returns a data frame that can be used to build ggplot |
30 | | -#' objects. This is useful when you want to customize the appearance of PPC |
31 | | -#' plots beyond what the built-in plotting functions allow, or when you want to |
32 | | -#' construct new types of PPC visualizations based on the same underlying data. |
33 | | -#' } |
34 | 25 | #' \item{`ppc_hist(), ppc_freqpoly(), ppc_dens(), ppc_boxplot()`}{ |
35 | 26 | #' A separate histogram, shaded frequency polygon, smoothed kernel density |
36 | 27 | #' estimate, or box and whiskers plot is displayed for `y` and each |
|
40 | 31 | #' \item{`ppc_dots()`}{ |
41 | 32 | #' A dot plot plot is displayed for `y` and each dataset (row) in `yrep`. |
42 | 33 | #' For these plots `yrep` should therefore contain only a small number of rows. |
43 | | -#' See the **Examples** section. This function requires [ggdist::stat_dots] to be installed. |
| 34 | +#' See the **Examples** section. |
44 | 35 | #' } |
45 | 36 | #' \item{`ppc_freqpoly_grouped()`}{ |
46 | 37 | #' A separate frequency polygon is plotted for each level of a grouping |
|
68 | 59 | #' confidence intervals are provided to asses if `y` and `yrep` originate |
69 | 60 | #' from the same distribution. The PIT values can also be provided directly |
70 | 61 | #' as `pit`. |
71 | | -#' See Säilynoja et al. (2021) for more details.} |
| 62 | +#' See Säilynoja et al. (2021) for more details. |
| 63 | +#' } |
| 64 | +#' \item{`ppc_data()`}{ |
| 65 | +#' This function prepares data for plotting with **ggplot2** and doesn't |
| 66 | +#' itself make any plots. Users can call it directly to obtain the underlying |
| 67 | +#' data frame that (in most cases) is passed to **ggplot2**. This is useful |
| 68 | +#' when you want to customize the appearance of PPC plots beyond what the |
| 69 | +#' built-in plotting functions allow, or when you want to construct new types |
| 70 | +#' of PPC visualizations based on the same underlying data. |
| 71 | +#' } |
72 | 72 | #' } |
73 | 73 | #' |
74 | 74 | #' @template reference-vis-paper |
|
0 commit comments