Edited from the blog post https://www.tidyverse.org/blog/2020/03/dplyr-1-0-0-summarise/

quibble(x, q = c(0.25, 0.5, 0.75), ...)

Arguments

x

Numeric. Values passed to stats::quantile argument x

q

Numeric. Proportions passed to stats::quantile argument probs

...

Passed to stats::quantile

Value

Single row data frame. Names are percentiles equivalent to q values.

Examples

x <- rnorm(100)

quibble(x)
#>          q25       q50       q75
#> 1 -0.6939246 0.1596105 0.8052238