Description Usage Arguments Value Examples
This function performs a one sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector of data to be tested. |
alternative |
Character string specifying the alternative hypothesis, must be "two.sided", "less", or "greater". |
mu |
Numeric input indicating the null hypothesis value of the mean. |
A list with the numeric test statistic, degree of freedom,
alternative
, and the numeric p-value.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.