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, ...)
x | a numeric vector |
---|---|
... | other arguments passed on to the respective Hmisc function. |
A data frame with columns y
, ymin
, and ymax
.
x <- rnorm(100) mean_cl_boot(x)#> y ymin ymax #> 1 0.006340126 -0.1833846 0.1899812mean_cl_normal(x)#> y ymin ymax #> 1 0.006340126 -0.1796911 0.1923714mean_sdl(x)#> y ymin ymax #> 1 0.006340126 -1.86877 1.88145median_hilow(x)#> y ymin ymax #> 1 0.03095268 -1.820273 1.860058