This function combines the sample mean information from two samples (of the same phenomena) to return the sample mean of the union of the two samples.
1 | mergeMean(x.mean, y.mean, x.n, y.n)
|
x.mean |
sample mean from the first sample, 'x' |
y.mean |
sample mean from the second sample, 'y' |
x.n |
sample size from the first sample, 'x' |
y.n |
sample size from the second sample, 'y' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.