Apply min
or max
across random draws.
Usage
draws_min(x, na_rm = FALSE)
draws_max(x, na_rm = FALSE)
# S3 method for class 'rvec_chr'
draws_min(x, na_rm = FALSE)
# S3 method for class 'rvec'
draws_min(x, na_rm = FALSE)
# S3 method for class 'rvec_chr'
draws_max(x, na_rm = FALSE)
# S3 method for class 'rvec'
draws_max(x, na_rm = FALSE)
Arguments
- x
An object of class rvec.
- na_rm
Whether to remove NAs before calculating minima and maxima. Default is
FALSE
.
See also
Apply pre-specified functions across draws:
Apply arbitrary function across draws:
For additional functions for summarising random draws, see
tidybayes
and ggdist.
Function as_list_col()
converts rvecs into a
format that tidybayes
and ggdist
can work with.