Print the summary for a numeric variable that includes the SD and the variance.

stat_summary(info)

Arguments

info

A numeric vector.

Value

The summary if `info` is numeric.

Author

Leonardo Collado-Torres

Examples

stat_summary(mtcars$mpg)
#>      Min.   1st Qu.    Median      Mean   3rd Qu.      Max.        SD  Variance 
#> 10.400000 15.425000 19.200000 20.090625 22.800000 33.900000  6.026948 36.324103