Description Usage Arguments Value Examples
This function performs a t-test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector of data to be used in the t-test. |
alternative |
Character string indicating type of alternative
hypothesis. Only accepts " |
mu |
Numeric input indicating the value of the mean for the null hypothesis. |
Returns a list containing a numeric representing the t-test test
statistic, an integer representing the degrees of freedom used, a string
representation of the given alternative
, and a numeric representing
the resulting p-value.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.