Description Usage Arguments Value Examples
This function performs a one sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector input containing the data that will be tested. |
alternative |
String input specifying the alternative hypothesis. |
mu |
Numeric input indicating the null hypothesis value of the mean. |
List containing a numeric test statistic, a numeric degrees of
freedom, a string showing alternative
, and a numeric p-value, all
calculated from performing a t-test on x
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.