td.t.unpairedi: T Test - Unpaired Indicator

Description Usage Arguments Details Value Examples

View source: R/td.t.unpairedi.R

Description

Function to run unpaired indicator T Test

Usage

1
td.t.unpairedi(tdf, col1, col2, thresh = 0.05)

Arguments

tdf

td data frame.

col1

first column to test.

col2

second column to test.

thresh

threshold. Default value is 0.05

Details

This function selects the column of interest and a second indicator column which determines to which group the first variable belongs. If the indicator variable is negative or zero, it will be assigned to the first group; if it is positive, it will be assigned to the second group.

Value

Single row data frame with the T Test results

Examples

1
2
3
4
## Not run: 
td.t.unpairedi(tdf, "income", "age")

## End(Not run)

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