1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stat-summary.R
\name{hmisc}
\alias{hmisc}
\alias{mean_cl_boot}
\alias{mean_cl_normal}
\alias{mean_sdl}
\alias{median_hilow}
\title{A selection of summary functions from Hmisc}
\usage{
mean_cl_boot(x, ...)
mean_cl_normal(x, ...)
mean_sdl(x, ...)
median_hilow(x, ...)
}
\arguments{
\item{x}{a numeric vector}
\item{...}{other arguments passed on to the respective Hmisc function.}
}
\value{
A data frame with columns \code{y}, \code{ymin}, and \code{ymax}.
}
\description{
These are wrappers around functions from \pkg{Hmisc} designed to make them
easier to use with \code{\link[=stat_summary]{stat_summary()}}. See the Hmisc documentation
for more details:
\itemize{
\item \code{\link[Hmisc:smean.sd]{Hmisc::smean.cl.boot()}}
\item \code{\link[Hmisc:smean.sd]{Hmisc::smean.cl.normal()}}
\item \code{\link[Hmisc:smean.sd]{Hmisc::smean.sdl()}}
\item \code{\link[Hmisc:smean.sd]{Hmisc::smedian.hilow()}}
}
}
\examples{
if (requireNamespace("Hmisc", quietly = TRUE)) {
set.seed(1)
x <- rnorm(100)
mean_cl_boot(x)
mean_cl_normal(x)
mean_sdl(x)
median_hilow(x)
}
}
|