showT.Test {mcStats} | R Documentation |
Conduct z-test
Description
Runs z-test and outputs graph for interpretation using stats::t.test
Usage
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
x <- rnorm(100)
showT.Test(x, verbose = 0)
showT.Test(x)
[Package mcStats version 0.1.2 Index]