Apply all or any logical summaries
across random draws.
Usage
draws_all(x, na_rm = FALSE)
# S3 method for class 'rvec_chr'
draws_all(x, na_rm = FALSE)
# S3 method for class 'rvec'
draws_all(x, na_rm = FALSE)
draws_any(x, na_rm = FALSE)
# S3 method for class 'rvec_chr'
draws_any(x, na_rm = FALSE)
# S3 method for class 'rvec'
draws_any(x, na_rm = FALSE)Arguments
- x
An object of class rvec.
- na_rm
Whether to remove NAs before calculating summaries. 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.