showT.Test: Conduct z-test

Description Usage Arguments Value Examples

View source: R/CtsHypothesisTests.R

Description

Runs z-test and outputs graph for interpretation using stats::t.test

Usage

1
showT.Test(group1, group2 = NULL, mu = 0, paired = FALSE, verbose = 1)

Arguments

group1

continuous data to test

group2

optional: second group to include for two sample t-test

mu

optional: mean to test against for one-sample t-test

paired

boolean, if TRUE perform matched pairs t-test

verbose

default is 1 which will create a graph. To turn this off use verbose = 0.

Value

results of call to t.test

Examples

1
2
3
x <- rnorm(100)
showT.Test(x, verbose = 0)
showT.Test(x)

mcStats documentation built on March 26, 2020, 7:37 p.m.