This is the t.test fucntion from the stats package adapted to work from summary statistics instead of vectors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
m1 |
mean of x |
n1 |
number of observations in x |
s1 |
standard deviation of x |
m2 |
mean of y |
n2 |
number of observations in y |
s2 |
standard deviation of y |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.