td.hist: Histograms

Description Usage Arguments Details Value Examples

View source: R/td.hist.R

Description

Generate a histogram of a column

Usage

1
td.hist(tdf, col, breaks = 10, plot = TRUE, ...)

Arguments

tdf

td data frame.

col

column name.

breaks

groups to break column into.

plot

Whether to plot results or not. Default is TRUE.

...

Allow other commands to be sent to plot.

Details

Function builds a histogram object from a Teradata table to represent that column. It can then plot the result or use as a histogram object.

Value

A histogram object.

Examples

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

## End(Not run)

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