This is wrapper to the effsize::cohen.d() function.

cohen_d(...)

Arguments

...

A comma separated list of arguments. See effsize::cohen.d().

Value

A list of class effsize as returned by effsize::cohen.d().

Examples

cohen_d(weight ~ gender, data = ansur)
#> 
#> Cohen's d
#> 
#> d estimate: -1.340908 (large)
#> 95 percent confidence interval:
#>     lower     upper 
#> -1.399610 -1.282207 
#> 
cohen_d(age ~ gender, data = schizophrenia)
#> 
#> Cohen's d
#> 
#> d estimate: 0.6600345 (medium)
#> 95 percent confidence interval:
#>     lower     upper 
#> 0.3991339 0.9209352 
#>