Description Usage Arguments Value Examples
This function performs a t test given data and a hypothesis.
1 | my_t.test(x, alternative, mu)
|
x |
Vector of numerics representing sample data. |
alternative |
String containing type of alternative hypothesis with one of the following values "two.sided", "less", or "greater". |
mu |
Numeric containing null hypothesis mean value. |
List containing "test_stat": the t statistic calculated, "df": the
degrees of freedom, "alternative": the value of alternative
,
"p_val": the p-value calculated from the t test.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.