sp_get_fivenumsum.RdCalculate a 5 number summary (for all types of variables)
sp_get_fivenumsum(var, character_truncate_length = 60)
| var | The variable to be summarized |
|---|---|
| character_truncate_length | the length of output character summaries (for ) |
The min, max, median, and 25th and 75th percentiles
summary_vector <- sp_get_fivenumsum(mtcars$mpg)