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 |
Charater string specifying the alternative hypothesis. It is one of "two.sided", "less", or "greater". |
mu |
Numeric input indicating the null hypothesis value of the mean. |
A List of test_stat (the numeric test statistic), df (degrees of freedom), p_value (the numeric p-value), and alternative (the value of the parameter alternative).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.