Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Arguments

x

a numeric vector

...

other arguments passed on to the respective Hmisc function.

Value

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

Examples

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

ggstance

Horizontal 'ggplot2' Components

v0.3.5
GPL-3
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], Winston Chang [aut], RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.