describe {describer} | R Documentation |
Describe atomic vectors or data.frames.
Description
describe
takes vectors and data.frames and returns a data.frame containing important descriptive statistics.
Usage
describe(.x)
## S3 method for class 'numeric'
describe(.x)
## S3 method for class 'character'
describe(.x)
## S3 method for class 'data.frame'
describe(.x)
## Default S3 method:
describe(.x)
Arguments
.x |
a vector or data.frame to be described. |
Value
a data.frame containing important descriptive statistics.
Methods (by class)
-
numeric
: Method for numeric. -
character
: Method for character. -
data.frame
: Method for data.frames. -
default
: Method for default.
Examples
# Example
describe(mtcars)
describe(iris)
describe(state.name)
[Package describer version 0.2.0 Index]