These are wrappers around functions from Hmisc designed to make them
easier to use with stat_summary()
. See the Hmisc documentation
for more details:
mean_cl_boot(x, ...)
mean_cl_normal(x, ...)
mean_sdl(x, ...)
median_hilow(x, ...)
A data frame with columns y
, ymin
, and ymax
.
if (requireNamespace("Hmisc", quietly = TRUE)) {
set.seed(1)
x <- rnorm(100)
mean_cl_boot(x)
mean_cl_normal(x)
mean_sdl(x)
median_hilow(x)
}
#> y ymin ymax
#> 1 0.1139092 -1.671298 1.797468