describe {describer} | R Documentation |
describe
takes vectors and data.frames and returns a data.frame containing important descriptive statistics.
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)
.x |
a vector or data.frame to be described. |
a data.frame containing important descriptive statistics.
numeric
: Method for numeric.
character
: Method for character.
data.frame
: Method for data.frames.
default
: Method for default.
# Example
describe(mtcars)
describe(iris)
describe(state.name)