Learn R Programming

describer (version 0.2.0)

describe: 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)
"describe"(.x)
"describe"(.x)
"describe"(.x)
"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

Run this code
# Example
describe(mtcars)
describe(iris)
describe(state.name)

Run the code above in your browser using DataLab