meansd.r: mean and sd to r

meansd.rR Documentation

mean and sd to r

Description

means and standard deviations of two groups to correlation coefficient

Usage

meansd.r(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.r(15.1, 13.2, 2.3, 1.1, 25, 45)
dat %>% mutate (r_from_meansd = meansd.r(stress_mean, control_mean, stress_sd, control_sd, stress_n, control_n)) -> dat


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