sumStat_total: Summary statistics of combined samples

Description Usage Arguments Value Examples

View source: R/summary_functions.R

Description

Calculate the summary statistics over the combined groups from the individual summary statistics

Usage

1
2
sumStat_total(n1, mean1, sd1, n2 = n1, mean2 = NULL, sd2 = sd1,
  d = NULL, effect = "increase")

Arguments

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".

Value

List containing the total n, mean and SD as well as the pooled SD, Cohen's D and mean2.

Examples

1
sumStat_total(n1=20, mean1=5, sd1=1, d=0.8)

mathesong/relfeas documentation built on March 4, 2020, 5:29 a.m.