Calculate a 5 number summary (for all types of variables)

sp_get_fivenumsum(var, character_truncate_length = 60)

Arguments

var

The variable to be summarized

character_truncate_length

the length of output character summaries (for )

Value

The min, max, median, and 25th and 75th percentiles

Examples

summary_vector <- sp_get_fivenumsum(mtcars$mpg)