Description Usage Arguments Value Examples
This function performs a one sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
Numeric vector input to be used as the data for the t-test. |
alternative |
String input that indicates the alternative hypothesis,
which must be one of |
mu |
Numeric input to be used as the true value of mean. |
a list having the following elements, test_stat
the numeric
test statistic, df
the degrees of freedom, alternative
the
string indicating the alternative hypothesis, 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.