A selection of summary functions from Hmisc

Description

These are wrappers around functions from Hmsic designed to make them easier to use with stat_summary. See the Hmisc documentation for more details:

  • smean.cl.boot

  • smean.cl.normal

  • smean.sdl

  • smedian.hilow

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
x <- rnorm(100)
mean_cl_boot(x)
mean_cl_normal(x)
mean_sdl(x)
median_hilow(x)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.