Learn R Programming

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

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

Run the code above in your browser using DataLab