Description Usage Arguments Value Examples
This function takes input data, a hypothesis test, a null hypothesis value, and returns a list of the computed t statistic, the degrees of freedom, the hypothesis test used, and the computed p value
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector of the input data |
alternative |
A character representing the hypothesis test we want to compute: "two.sided", "less", or "greater |
mu |
A number indicating the null hypothesis value of the mean |
A list containing the test statistic, the degrees of freedom, the hypothesis test, and the computed p value
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.