frequencyTable: Frequency table.

Description Usage Arguments Value Examples

View source: R/frequencyTable.R

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")

psytabs documentation built on May 29, 2017, 10:52 p.m.

Search within the psytabs package
Search all R packages, documentation and source code