The five number summary of a numeric vector you would get from `summary` but returned with a tidy output.

five_number_summary(x)

Arguments

x

a numeric vector

Value

a tibble

Examples


iris$Petal.Width %>%
five_number_summary()
#> # A tibble: 1 × 6
#>     min    q1 median  mean    q3   max
#>   <dbl> <dbl>  <dbl> <dbl> <dbl> <dbl>
#> 1   0.1   0.3    1.3  1.20   1.8   2.5