td.freq: Frequency Analysis

Description Usage Arguments Details Value Examples

View source: R/td.freq.R

Description

Produce a frequency analysis of a column in a td data frame.

Usage

1
td.freq(tdf, col, plot = TRUE, ...)

Arguments

tdf

td data frame.

col

column name.

plot

whether or not to plot results. Default is TRUE.

...

commands to pass on to plot if needed.

Details

If td data frame consists of only 1 column then that column is used for the frequency. If 'col' is supplied with a multi column td data frame then that column is used to get frequency values.

Value

data frame of frequency results.

Examples

1
2
3
4
5
6
## Not run: 
td.freq(tdf[3])
td.freq(tdf["age"])
td.freq(tdf, "age")

## End(Not run)

nonsleepr/teradataR documentation built on May 23, 2019, 9:32 p.m.