Numerical Summaries

Example Data 244 238 1
The Drupal File ID of the selected dataset. The user may load another using the search bar on the operation's page.

Numerical Summaries


Computes the mean, standard deviation, IQR quartiles, and also the minimum and maximum. A stem-and-leaf plot is also provided.


Select one dataset column then click Submit.


summary is a generic function used to produce result summaries of the results of various model fitting functions.


summary(object, ...)

## Default S3 method:
summary(object, ..., digits)
## S3 method for class 'data.frame'
summary(object, maxsum = 7,
       digits = max(3, getOption("digits")-3), ...)

## S3 method for class 'factor'
summary(object, maxsum = 100, ...)

## S3 method for class 'matrix'
summary(object, ...)

## S3 method for class 'summaryDefault'
format(x, digits = max(3L, getOption("digits") - 3L), ...)
 ## S3 method for class 'summaryDefault'
print(x, digits = max(3L, getOption("digits") - 3L), ...)



an object for which a summary is desired.


a result of the default method of summary().


integer, indicating how many levels should be shown for factors.


integer, used for number formatting with signif() (for summary.default) or format() (for In summary.default, if not specified (i.e., missing(.)), signif() will not be called anymore (since R >= 3.4.0, where the default has been changed to only round in the print and format methods).


additional arguments affecting the summary produced.


For factors, the frequency of the first maxsum - 1 most frequent levels is shown, and the less frequent levels are summarized in "(Others)" (resulting in at most maxsum frequencies).

The functions summary.lm and summary.glm are examples of particular methods which summarize the results produced by lm and glm.


The form of the value returned by summary depends on the class of its argument. See the documentation of the particular methods for details of what is produced by that method.

The default method returns an object of class c("summaryDefault", "table") which has specialized format and print methods. The factor method returns an integer vector.

The matrix and data frame methods return a matrix of class "table", obtained by applying summary to each column and collating the results.


Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth & Brooks/Cole.

See Also

anova, summary.glm, summary.lm.


summary(attenu, digits = 4) #->, default precision
summary(attenu $ station, maxsum = 20) #-> summary.factor(...)

lst <- unclass(attenu$station) > 20 # logical with NAs
## summary.default() for logicals -- different from *.factor:
Title Authored on Content type
R Dataset / Package gamclass / fars2007 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package wooldridge / ceosal1 March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Stat2Data / Nursing March 9, 2018 - 1:06 PM Dataset
crimtab February 26, 2017 - 11:28 AM Dataset
R Dataset / Package Ecdat / Mathlevel March 9, 2018 - 1:06 PM Dataset