Description Usage Arguments Value Examples
View source: R/summary_functions.R
Calculate the summary statistics over the combined groups from the individual summary statistics
1 2 | sumStat_total(n1, mean1, sd1, n2 = n1, mean2 = NULL, sd2 = sd1,
d = NULL, effect = "increase")
|
n1 |
Number of measurements in group 1 |
mean1 |
Mean of group 1 |
sd1 |
SD of group 1 |
n2 |
Number of measurements in group 2. Optional: default is n1. |
mean2 |
Mean of group 2. Optional: this or the effect size can be specified. |
sd2 |
SD of group 2 |
d |
Cohen's D. Optional: this or mean2 can be specified. |
effect |
Direction of the effect. "increase" or "decrease". |
List containing the total n, mean and SD as well as the pooled SD, Cohen's D and mean2.
1 | sumStat_total(n1=20, mean1=5, sd1=1, d=0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.