broom (version 0.3.7)

summary_tidiers: Tidiers for summaryDefault objects

Description

Tidy a summary of a vector.

Usage

## S3 method for class 'summaryDefault':
tidy(x, ...)

## S3 method for class 'summaryDefault': glance(x, ...)

Arguments

x
summaryDefault object
...
extra arguments, not used

Value

  • Both tidy and glance return the same object: a one-row data frame with columns
  • minimumsmallest value in original vector
  • q1value at the first quartile
  • medianmedian of original vector
  • meanmean of original vector
  • q3value at the third quartile
  • maximumlargest value in original vector

See Also

summary

Examples

Run this code
v <- rnorm(1000)
s <- summary(v)
s

tidy(s)
glance(s)

Run the code above in your browser using DataLab