profilr (version 0.1.0)

profile: Profile atomic vectors or data.frames.

Description

profile takes vectors and data.frames and returns a data.frame containing important descriptive statistics.

Usage

profile(.x)
"profile"(.x)
"profile"(.x)
"profile"(.x)
"profile"(.x)

Arguments

.x
a vector or data.frame to be profiled.

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
profile(mtcars)
profile(iris)
profile(state.name)