d.t: d to t

d.tR Documentation

d to t

Description

cohen's d to t-statistics

Usage

d.t(d, n1, n2, k, dir)

Arguments

d

cohen's d

n1

cell size of group 1

n2

cell size of group 2

k

total number of predictors

dir

if cohen's d is in absolute value, provide the empirical direction:
+1 for positive associaitons and -1 for negative associations

Examples

d.t(.80, 15, 20, 1, -1)
dat %>% mutate (t_from_d = d.t(cohend, stress_n, control_n, numpred, emp_dir)) -> dat


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