Description Usage Arguments Value Examples
This function does the T-test with the input value, return the result as a list.
1 | my_t.test(x, alternative = "two.sided", mu = 0)
|
x |
Numeric vector input, containing the values we are going to test. |
alternative |
String input specifying alternative hypothesis, defaults
to |
mu |
Numeric input, indicating the null hypothesis value of the mean,
defaults to |
A list includes test_stat
, the numeric test statistic;
df
, the degrees of freedom; alternative
, the value of the
parameter alternative; and p_val
, the numeric p-value.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.