Describe Moments
describeMoments.Rd
Provides a table of descriptive/summary statistics for a data set.
Usage
# S3 method for data.frame
describeMoments(frame, ...)
# S3 method for formula
describeMoments(formula, ...)
# S3 method for wsm
describeMoments(moments, ...)
# S3 method for bsm
describeMoments(moments, ...)
Arguments
- frame
a set of (non-empty) numeric vectors of data values
- formula
a formula of the form
lhs ~ rhs
wherelhs
is a numeric variable giving the data values andrhs
a factor giving the corresponding groups- moments
a matrix/frame of descriptive/summary statistics
Value
The returned frame contains the following components:
- N
the number of individuals for the variables or groups
- M
the mean for the variables or groups
- SD
the standard deviation for the variables or groups
- Skew
an index of skewness for the variables or groups
- Kurt
an index of kurtosis for the variables or groups