frequencyTable: Frequency table.

Description

Produces a simple frequeny table.

Usage

1
frequencyTable(factors)

Arguments

factors

data.frame containing the variables for which the frequency table should be calculated.

Value

A dataframe comprising the frequency table.

Examples

1
2
3
4
data(mydata)
(freq.tab <- frequencyTable(data.frame(Sex=mydata$sex, Age=mydata$age_group7)))

#saveTable(freq.tab, "freqTab.rtf")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.