Description Usage Arguments Value Examples
This function cauculated for a one sample t-test.
1 | my_t.test(x, alternative, mu)
|
x |
a numeric vector of data. |
alternative |
a character string specifying the alternative hypothesis.
This should only accept |
mu |
An integer representing the number of neighbors. |
A list
with elements :
test_stat
:the numeric test statistic
df
:the degrees of freedom
alternative
:the value of the parameter alternative
p_val
:the numeric p-value
1 | my_t.test(my_gapminder$lifeExp, alternative = "two.sided", mu = 60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.