
Last chance! 50% off unlimited learning
Sale ends in
Runs z-test and outputs graph for interpretation using stats::t.test
showT.Test(group1, group2 = NULL, mu = 0, paired = FALSE,
verbose = 1)
continuous data to test
optional: second group to include for two sample t-test
optional: mean to test against for one-sample t-test
boolean, if TRUE perform matched pairs t-test
default is 1 which will create a graph. To turn this off use verbose = 0.
results of call to t.test
# NOT RUN {
x <- rnorm(100)
showT.Test(x, verbose = 0)
showT.Test(x)
# }
Run the code above in your browser using DataLab