r_to_d: Determining Cohen's d from eta squared values

View source: R/r_to_d.R

r_to_dR Documentation

Determining Cohen's d from eta squared values

Description

This functions allows directly transforming r correlation values to Cohen's d values for consistent data presentation. Cohen's d is calcuated using the following formula.

d = \frac{2r}{\sqrt[]{(1-r^2)}}

Usage

r_to_d(
  r,
  round = 2
  )

Arguments

r

correlation value

round

Rounding value for the effect size estimation

Examples

r_to_d(r = 0.2)

samueltobler/behavdata documentation built on July 9, 2024, 11:33 a.m.