td.zscore: Zscore Transformation

Description Usage Arguments Details Value Examples

View source: R/td.zscore.R

Description

Function to create a column as a zscore transformation.

Usage

1
td.zscore(tdf, col, oTable, oDatabase = "")

Arguments

tdf

td data frame.

col

column to test.

oTable

output table name.

oDatabase

output database name.

Details

In a Z-Score transformation, a numeric column is transformed into its Z-score based on the mean value and standard deviation of the data in the column. It transforms each column value into the number of standard deviations from the mean value of the column.

Value

returns a td data frame pointing to your new table created with your new column as the z score transformation.

Examples

1
2
3
4
## Not run: 
td.zscore(tdf,"age","newCust")

## End(Not run)

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