meansd.d: mean and sd to d

View source: R/michaela.R

meansd.dR Documentation

mean and sd to d

Description

means and standard deviations of two groups to cohen's d

Usage

meansd.d(m1, m2, sd1, sd2, n1, n2)

Arguments

m1

mean of group 1

m2

mean of group 2

sd1

standard deviation of group 1

sd2

standard deviation of group 2

n1

cell size of group 1

n2

cell size of group 2

Examples

meansd.d(15.1, 13.2, 2.3, 1.1, 25, 45)
dat %>% mutate (d_from_meansd = meansd.d(mean1, mean2, sd1, sd2, n1, n2)) -> dat


phoebehlam/michaela documentation built on Oct. 23, 2024, 4:10 p.m.