Skip to contents

Provides a frequency distributions for each variable or group.

Usage

# S3 method for data.frame
describeFrequencies(frame, ...)

# S3 method for formula
describeFrequencies(formula, ...)

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

Value

The returned list contains a frame for each variable or group with the following components:

Freq

the frequency of each value

Perc

the relative frequency of each value

CumFreq

the cumulative frequency of each value

CumPerc

the cumulative relative frequency of each value