Description Usage Arguments Value Examples
Performs a one-sample t-test on the given vector of data
1 | my_t.test(x, alternative, mu)
|
x |
a numeric vector of data |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided", "greater", or "less" |
mu |
the null hypothesis value of the mean |
List with entries for the t-statistic, the degrees of freedom, the alternative hypothesis, and the p-value of the test
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.