Description Usage Arguments Value Examples
This function runs a left, right, and two-sided t test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric input data to use in your function. |
alternative |
Character specifying what the alternative hypothesis is: less, greater,two.sided. |
mu |
The null hypothesis or your test. |
Returns a list with the t.test output and a model table and code
Hypothesis, T-statistic, DF, P-value
. It also returns a call of the hypothesis tested.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.