Numbers are the minimum, 25th percentile, median, 75th percentile, and maximum, of the non missing data. Values returned are either the significant digits or rounded values, whichever ends up resulting in the fewest total digits.
Examples
JWileymisc:::roundedfivenum(rnorm(1000))
#> [1] -3.12 -0.62 0.01 0.67 3.17
JWileymisc:::roundedfivenum(mtcars$hp)
#> [1] 52.0 96.5 123.0 180.0 335.0