all_tTest: Difference of Means Test

Description Usage Arguments Value Examples

View source: R/4419_functions.r

Description

Produces a more helpful summary of the existing t.test function.

Usage

1
2
3
all_tTest(x, y, data,
  adjust.method= c("none", "holm", "hochberg",
  "hommel", "bonferroni", "BH", "BY", "fdr"), ...)

Arguments

x

Character string giving name of grouping variable.

y

Character string giving name of continuous variable.

data

Data where both x and y can be found.

adjust.method

Method to for adjusting p-values for multiple testing. It uses the same set of choices as p.adjust.

...

Other arguments to be passed down to the t.test function.

Value

A list of class allTT with one element elements:

sum

Means, n, and standard errors for both groups and the difference.

tt

The result produced by t.test.

Examples

1
2
data(alberta)
all_tTest("k6group", "k3c", data=alberta)

uwo4419 documentation built on Oct. 23, 2020, 8:08 p.m.