ttester: Read Mmultiple Student t-Tests Function

Description Usage Arguments Value Examples

View source: R/ttester.R

Description

This function performs multiple t tests between all pairs of columns/lists of a data file and returns a readable output

Usage

1
ttester(testdata, pairedvalue = FALSE, varvalue = FALSE, pval_sci = FALSE)

Arguments

pairedvalue

FALSE indicates that the stat::t.test performed will be unpaired, TRUE will be paired (default is FALSE)

varvalue

FALSE indicates that equal variance should not be assumed, TRUE assumes equal variance #note in order for the varvalue param to have effect, pairedvalue must be set to FALSE - this choice depends on your study design

pval_sci

TRUE if desired output is scientific notation

data

The data file that contains the groups that you want to compare as columns or lists

Value

A list of t.test results and tested_pairs

Examples

1
ttester(testdata = data.frame(VADeaths), pairedvalue = FALSE, pval_sci = TRUE)

carriewright11/ttester documentation built on Jan. 29, 2021, 4:45 p.m.