Learn R Programming

ggstance (version 0.3.7)

hmisc_h: Horizontal versions of summary functions from Hmisc

Description

These are horizontal versions of the wrappers around functions from Hmisc designed to make them easier to use with stat_summaryh. The corresponding vertical versions are hmisc(). See the Hmisc documentation for more details:

Usage

mean_cl_boot_h(x, ...)

mean_cl_normal_h(x, ...)

mean_sdl_h(x, ...)

median_hilow_h(x, ...)

Value

A data frame with columns x, xmin, and xmax.

Arguments

x

a numeric vector

...

other arguments passed on to the respective Hmisc function.

Examples

Run this code
if (requireNamespace("Hmisc")) {
  x <- rnorm(100)
  mean_cl_boot_h(x)
  mean_cl_normal_h(x)
  mean_sdl_h(x)
  median_hilow_h(x)
}

Run the code above in your browser using DataLab