| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/summary.Rd
|
1 |
% File src/library/base/man/summary.Rd
|
| 2 |
% Part of the R package, https://www.R-project.org
|
2 |
% Part of the R package, https://www.R-project.org
|
| 3 |
% Copyright 1995-2016 R Core Team
|
3 |
% Copyright 1995-2016, 2018 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{summary}
|
6 |
\name{summary}
|
| 7 |
\title{Object Summaries}
|
7 |
\title{Object Summaries}
|
| 8 |
\alias{summary}
|
8 |
\alias{summary}
|
| Line 19... |
Line 19... |
| 19 |
\code{\link{class}} of the first argument.
|
19 |
\code{\link{class}} of the first argument.
|
| 20 |
}
|
20 |
}
|
| 21 |
\usage{
|
21 |
\usage{
|
| 22 |
summary(object, \dots)
|
22 |
summary(object, \dots)
|
| 23 |
|
23 |
|
| 24 |
\method{summary}{default}(object, \dots, digits)
|
24 |
\method{summary}{default}(object, \dots, digits, quantile.type = 7)
|
| 25 |
\method{summary}{data.frame}(object, maxsum = 7,
|
25 |
\method{summary}{data.frame}(object, maxsum = 7,
|
| 26 |
digits = max(3, getOption("digits")-3), \dots)
|
26 |
digits = max(3, getOption("digits")-3), \dots)
|
| 27 |
|
27 |
|
| 28 |
\method{summary}{factor}(object, maxsum = 100, \dots)
|
28 |
\method{summary}{factor}(object, maxsum = 100, \dots)
|
| 29 |
|
29 |
|
| Line 42... |
Line 42... |
| 42 |
\code{\link{format}()} (for \code{summary.data.frame}). In
|
42 |
\code{\link{format}()} (for \code{summary.data.frame}). In
|
| 43 |
\code{summary.default}, if not specified (i.e.,
|
43 |
\code{summary.default}, if not specified (i.e.,
|
| 44 |
\code{\link{missing}(.)}), \code{signif()} will \emph{not} be called
|
44 |
\code{\link{missing}(.)}), \code{signif()} will \emph{not} be called
|
| 45 |
anymore (since \R >= 3.4.0, where the default has been changed to
|
45 |
anymore (since \R >= 3.4.0, where the default has been changed to
|
| 46 |
only round in the \code{print} and \code{format} methods).}% for "summaryDefault"
|
46 |
only round in the \code{print} and \code{format} methods).}% for "summaryDefault"
|
| - |
|
47 |
\item{quantile.type}{integer code used in \code{quantile(*, type=quantile.type)}
|
| - |
|
48 |
for the default method.}
|
| 47 |
\item{\dots}{additional arguments affecting the summary produced.}
|
49 |
\item{\dots}{additional arguments affecting the summary produced.}
|
| 48 |
}
|
50 |
}
|
| 49 |
\details{
|
51 |
\details{
|
| 50 |
For \code{\link{factor}}s, the frequency of the first \code{maxsum - 1}
|
52 |
For \code{\link{factor}}s, the frequency of the first \code{maxsum - 1}
|
| 51 |
most frequent levels is shown, and the less frequent levels are
|
53 |
most frequent levels is shown, and the less frequent levels are
|