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, ...)

Arguments

x

a numeric vector

...

other arguments passed on to the respective Hmisc function.

Value

A data frame with columns y, ymin, and ymax.

Examples

x <- rnorm(100) mean_cl_boot(x)
#> y ymin ymax #> 1 0.05666078 -0.1084214 0.2336644
mean_cl_normal(x)
#> y ymin ymax #> 1 0.05666078 -0.1206024 0.2339239
mean_sdl(x)
#> y ymin ymax #> 1 0.05666078 -1.730071 1.843392
median_hilow(x)
#> y ymin ymax #> 1 0.1100254 -1.569881 1.640211