Learn R Programming

shipunov (version 1.17.1)

pairwise.Eff: Pairwise table of effects with magnitudes

Description

Pairwise table of effects with magnitudes

Usage

pairwise.Eff(vec, fac, eff="K", dec=2, mad=FALSE)

Value

List with test outputs.

Arguments

vec

Values

fac

Groups

eff

Effect, either 'K' or 'cohen.d', or 'cliff.delta'

dec

Decimals to round

mad

Use MAD-based nonparametric modification of K?

Author

Alexey Shipunov

Details

Pairwise table of effect sizes.

At the moment, classic Lyubischev's K (a.k.a. SSSMD), effsize::cliff.delta() and effsize::cohen.d() are supported.

Examples

Run this code
pairwise.Eff(hwc$WEIGHT, hwc$COLOR)
pairwise.Eff(hwc$WEIGHT, hwc$COLOR, mad=TRUE)
pairwise.Eff(hwc$WEIGHT, hwc$COLOR, eff="cohen.d")
pairwise.Eff(hwc$WEIGHT, hwc$COLOR, eff="cliff.delta")

Run the code above in your browser using DataLab