cohen_d.formula: Cohen's d

View source: R/other_utils.R

cohen_d.formulaR Documentation

Cohen's d

Description

Cohen's d

Usage

## S3 method for class 'formula'
cohen_d(f, data, ...)

Arguments

f

A two-sided formula: y ~ x.

d

A data frame.

test

Whether to include a Wilcoxon (Mann-Whitney) test of location difference (default: F)

sig

The number of significant digits to report (default: 3)

Value

Cohen's d

Examples

cohen_d(mpg ~ am, mtcars)

grasshoppermouse/hagenutils documentation built on Dec. 6, 2024, 8:31 p.m.