Description Usage Arguments Value Examples
This function performs a one sample t-test
1 | my_t_test(x, alternative, mu)
|
x |
Numberic vector of data. |
alternative |
Character string specifying the alternative hypothesis.
Only accept |
mu |
Numberic input indicating the null hypothesis value of the mean. |
List with elements:
the numeric test statistic
the degrees of freedom
the value of the parameter alternative
the numeric p-value
1 | my_t_test(7, "two.sided", 12)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.