load.sum:
Appropriate Summary Statistics for Factors, Ordered Factors, and Numeric Variables
Description
Returns the medians of a vector of ordered factor variables, the modes of a vector of unordered factor variables, and the means of a vector of numeric variables.
Usage
load.sum(vec)
Arguments
vec
A vector of ordered factor variables, a vector of unordered factor variables, or a vector of numeric variables.
Value
load.sum returns the medians of a vector of ordered factor variables, the mode of a vector of unordered factor variables, and the mean of a vector of numeric variables.