datastats: Compute the mean and the standard deviation of a data set
Description
Compute the mean and the standard deviation of a data set
represented by the pair of the numeric vectors data and optionally its
frequency vector freq.
Usage
datastats(data, freq = NULL)
Value
The mean and the standard deviation of a data set.
Arguments
data
A numeric vector of a data set.
freq
A frequency vector corresponding to the data vector.
The default value is NULL, which means all frequencies are one.