Description Usage Arguments Value Examples
This function performs a one-sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
A numeric vector of data. |
alternative |
A character string specifying the alternative hypothesis,
should only be |
mu |
A number indicating the null hypothesis value of the mean. |
A list containing four elements: test_stat
(the numeric test,
test statistic), df
(the degrees of freedom), alternative
(the value of the parameter "alternative"), and p_val
(the numeric p-value).
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.