Skip to contents

Provides a table of descriptive/summary statistics for a data set.

Usage

# S3 method for class 'data.frame'
describeMoments(frame, ...)

# S3 method for class 'formula'
describeMoments(formula, ...)

# S3 method for class 'wsm'
describeMoments(moments, ...)

# S3 method for class 'bsm'
describeMoments(moments, ...)

Arguments

frame

a set of (non-empty) numeric vectors of data values

formula

a formula of the form lhs ~ rhs where lhs is a numeric variable giving the data values and rhs 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