Description Usage Arguments Value Examples
This function conducts a t-test on given data
1 | my_t_test(x, alternative, mu)
|
x |
Data on which t-test is to be conducted. |
alternative |
String of "two.sided", "less", or "greater" to designate alternative hypothesis. |
mu |
Numeric input designating the value of the null hypothesis. |
List containing the numerics representing test statistic and degrees of freedom, the alternative hypothesis, and a numeric of the p-value
1 2 | my_t_test(my_gapminder$lifeExp, "two.sided", 60)
my_t_test(1:100, "two.sided", 60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.