td.mode: Mode Value of Column

Description Usage Arguments Details Value Examples

View source: R/td.mode.R

Description

Function to find the most frequent value of a column in a td data frame.

Usage

1
td.mode(tdf, col)

Arguments

tdf

td data frame.

col

column name.

Details

Function goes out and gets the most frequent value or mode of a column in a td data frame and returns it.

Value

specific column value for most frequent value.

Examples

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

## End(Not run)

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