Performs two sample t-test on multiple features

TwoSampleTTest(
  input.data,
  column.names.to.use,
  name.of.class.column,
  file.name
)

Arguments

input.data

A dataframe.

column.names.to.use

Vector of strings where each string is the name of a column of numerical data to use for t-test.

name.of.class.column

Name of column that contains labels for group1 and labels for group2. The labels can be any value. For example, for group1 observations can have value of "1" for this column while group2 observations can have value of "2" for this column.

file.name

Name of the file to write output to.

Value

Dataframe where the rows are statistic values from the t-test and columns are the features.

See also