R/column_summary_stats.R
column_summary_stats.RdCalculates mean, standard deviation, median, min, max, and number of missing values for the columns of a matrix or for a vector.
A matrix, data frame, or vector.
An optional vector of length 5 that indicates the number
of digits after the decimal place that will be used for rounding and
formatting
the mean, sd, median, min, and max, respectively. Default is
c(2, 2, 2, 3, 1)]. If NULL, no rounding or formatting will be done.
Names for the rows of output. Default will use
column names of x as rows.
A data frame with columns mean, sd, median, min, max, and number of missing values. Each row corresponds to the columns of the input.