Description Usage Arguments Value Examples
This function performs a one sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector representing sample data values. |
alternative |
String that indicates the alternative hypothesis of the t-test, must be one of "two.sided", "greater" or "less". |
mu |
Numeric indicating the value of the null hypothesis value of the mean. |
List with elements test_stat
, the value of the t-statistic,
df
, the degrees of freedom for the t-statistic, alternative
,
the value of the parameter alternative
, and p_val
, the
numeric p-value that was calculated by the t-test.
1 2 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.