one.sample.t.test | R Documentation |
Gosset's one-sample t-test for testing claims about a population mean.
one.sample.t.test(
xbar,
s,
n,
mu0 = 0,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
xbar |
the sample mean. |
s |
the sample standard deviation. |
n |
the sample size. |
mu0 |
the assumed population mean under the null hypothesis. |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter. |
conf.level |
confidence level for the interval estimator |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.