wrapCohenD.numeric: Wrap Cohen's D (effect size between groups).

View source: R/CohenD.R

wrapCohenD.numericR Documentation

Wrap Cohen's D (effect size between groups).

Description

Wrap Cohen's D (effect size between groups).

Usage

## S3 method for class 'numeric'
wrapCohenD(x, treatment, ..., na.rm = FALSE)

Arguments

x

numeric reference or control measurements

treatment

numeric treatment or group-2 measurements

...

extra arguments (not used)

na.rm

if TRUE remove NAs

Value

formatted string and fields

Examples


d <- data.frame(x = c(1,1,2,2,3,3,4,4),
                y = c(1,2,3,4,5,6,7,7))
render(wrapCohenD(d$x, d$y))


sigr documentation built on Aug. 20, 2023, 9:06 a.m.