-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdescribePercentiles.Rd
30 lines (24 loc) · 1.12 KB
/
describePercentiles.Rd
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
% File man/describePercentiles.Rd
% Part of the DEVISE package, https://github.com/cwendorf/DEVISE
\name{describePercentiles}
\alias{describePercentiles}
\title{Describe Percentiles}
\description{Provides a table of percentile statistics for each variable or group.}
\usage{
\method{describePercentiles}{default}(variable, ...)
\method{describePercentiles}{data.frame}(frame, ...)
\method{describePercentiles}{formula}(formula, ...)
}
\arguments{
\item{variable}{a numeric vector of data values}
\item{frame}{a set of (non-empty) numeric vectors of data values}
\item{formula}{a formula of the form \code{lhs ~ rhs} where \code{lhs} is a numeric variable giving the data values and \code{rhs} a factor giving the corresponding groups}
}
\value{
The returned frame contains the following components:
\item{Min}{the minimum values for the variables or groups}
\item{25}{the values of the 25th percentile for the variables or groups}
\item{50}{the values of the 50th percentile for the variables or groups}
\item{75}{the values of the 25th percentile for the variables or groups}
\item{Max}{the maximum values for the variables or groups}
}