Description Usage Arguments Value Examples
This function calculates P-value using the t-distribution hypothesis test.
1 | my_t.test(x, alternative, mu)
|
x |
The numeric vector of data given to conduct the t-test. No default value. |
alternative |
The alternative hypothesis, a string of either "two.sided", "less", or "greater". Used to determine which t-test to conduct. No default value. |
mu |
The predicted mean, a numeric value to calculate the test statistic. No default value. |
A list of the t-value, the degrees of freedom, the alternative used, and the P-value.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.