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
2
3
4
5
6
7
8
showT.Test(
  group1,
  group2 = NULL,
  mu = 0,
  paired = FALSE,
  conf.level = 0.9,
  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

conf.level

confidence level - passed to 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)

mczekanski1/mcStats documentation built on March 6, 2020, 12:43 p.m.