powered by
These are wrappers around functions from Hmisc designed to make them easier to use with stat_summary(). See the Hmisc documentation for more details:
stat_summary()
Hmisc::smean.cl.boot()
Hmisc::smean.cl.normal()
Hmisc::smean.sdl()
Hmisc::smedian.hilow()
mean_cl_boot(x, ...)mean_cl_normal(x, ...)mean_sdl(x, ...)median_hilow(x, ...)
mean_cl_normal(x, ...)
mean_sdl(x, ...)
median_hilow(x, ...)
a numeric vector
other arguments passed on to the respective Hmisc function.
A data frame with columns y, ymin, and ymax.
y
ymin
ymax
# NOT RUN { if (requireNamespace("Hmisc", quietly = TRUE)) { x <- rnorm(100) mean_cl_boot(x) mean_cl_normal(x) mean_sdl(x) median_hilow(x) } # }
Run the code above in your browser using DataLab