Description Usage Arguments Value Examples
Two-Sample Equal Variance t-Test
1 |
x |
a non-empty numeric vector. |
y |
a non-empty numeric vector. |
alpha |
value to test hypothesis. |
alternative |
hypothesis (can take on one of three values). |
... |
further arguments to be passed to or from methods. |
the answers!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | T1 <- ttest(x = rnorm(300.5, 1), y = rnorm(30, 1, 1), alternative = "less")
T1
print(T1)
plot(T1)
Mx1x2 <- matrix(rnorm(60, 0, 1), nrow = 30)
class(Mx1x2)
TM <- ttest(x = Mx1x2)
TM
plot(TM)
ttest(x = Mx1x2) # Test that a matrix will work
mylist <- list(xl = rnorm(30), yl = rnorm(30))
class(mylist)
ttest(x = mylist, alternative = "greater")
plot(ttest(mylist))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.