Description Usage Arguments Details Value Examples
View source: R/td.t.unpairedi.R
Function to run unpaired indicator T Test
1 | td.t.unpairedi(tdf, col1, col2, thresh = 0.05)
|
tdf |
td data frame. |
col1 |
first column to test. |
col2 |
second column to test. |
thresh |
threshold. Default value is 0.05 |
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.
Single row data frame with the T Test results
1 2 3 4 | ## Not run:
td.t.unpairedi(tdf, "income", "age")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.