Summarize distribution characteristics for a column of interest

expression_summary(df, x)

Arguments

df

Data frame

x

Bare name of column to summarize

Value

A tibble containing a summary of the data distribution

Examples

df <- tibble::tibble(bar = rnorm(10000)) expression_summary(df, bar)
#> # A tibble: 1 x 9 #> min q1 mean median q3 max std_dev median_abs_dev #> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> #> 1 -3.37 -0.679 -0.00231 -0.00328 0.674 3.59 0.990 1.00 #> # … with 1 more variable: coefficient_of_variation <dbl>