Description Usage Arguments Value Examples
This function performs one-sample t-tests on vectors of data.
1 | my_t_test(x, alternative, mu)
|
x |
Numeric vector of data values. |
alternative |
Character string of the alternative hypothesis, must be
either " |
mu |
Numeric of true value of the mean. |
A list containing the following:
t_stat
, the value of the test statistic.
df
, the degrees of freedom for the t-statistic.
alternative
, the alternative hypothesis.
p_val
, the p-value for the test.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.