ZTest(x, mu = 0, sd_pop, alternative = c("two.sided", "less", "greater"),
conf.level = 0.95)
htest
containing the resultst.test
function should be used instead of this
one (but the syntax is very similar, so this function should be an
appropriate introductory step to learning t.test
).t.test
, print.htest
x <- rnorm(25, 100, 5)
ZTest(x, 99, 5)
Run the code above in your browser using DataLab