Description Usage Arguments Value Examples
This function runs a single or double tailed t test on provided data.
1 | my_t_test2(x, alternative = c("two.sided", "less", "greater"), mu)
|
x |
Numeric vector the data is saved into. |
alternative |
Character string equal to "two.sided", "less", or "greater". |
mu |
Numeric input that xhat will be compared to. |
Returns a list of the t-value, degrees of freedom, alternative value, and p-value.
1 | my_t_test2(x, "two.sided", 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.