Learn R Programming

sigr (version 1.1.5)

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

Description

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

Usage

# S3 method for data.frame
wrapCohenD(x, Column1Name, Column2Name, ..., na.rm = FALSE)

Value

formatted string and fields

Arguments

x

data.frame

Column1Name

character column 1 name

Column2Name

character column 2 name

...

extra arguments (not used)

na.rm

if TRUE remove NAs

Examples

Run this code

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','y'))

Run the code above in your browser using DataLab