tvalue | R Documentation |
Calculates the t value and SE, given two numeric vectors
tvalue(x, y, print = FALSE)
x |
A numeric vector. |
y |
A second numeric vector (Independent). |
print |
A logical,whether to print the usual t.test print. default is set to FALSE. |
meandiff
The mean difference between the groups.
t value
The t value.
SE
Standard Error.
df
Degrees of freedom.
p.value
The P Value of the result.
https://www.youtube.com/watch?v=3azuAaOJack for further explenation.
x <- c(17,4,58,96,0,12,14)
y <- c(11,47,62,0,96,12,47,5)
tvalue(x,y,print=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.