Skip to content

Commit ea5995d

Browse files
Copilotosorensen
andcommitted
Add documentation about reproducibility of random item selection
Co-authored-by: osorensen <21175639+osorensen@users.noreply.github.com>
1 parent 476ce51 commit ea5995d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R/plot.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
#'
3131
#' For `parameter = "rho"`, if the number of items is large (> 5) and `items`
3232
#' is not specified, a random subset of 5 items is selected for visualization.
33+
#' The random selection respects the current random seed, so results are
34+
#' reproducible if you set a seed before calling the function (e.g., with
35+
#' `set.seed()`).
3336
#'
3437
#' @export
3538
#' @importFrom ggplot2 ggplot aes geom_histogram geom_col facet_wrap xlab ylab theme_minimal

0 commit comments

Comments
 (0)