Learn R Programming

shipunov (version 1.0)

pairwise.Eff: Pairwise table of effects with magnitudes

Description

Pairwise table of effects with magnitudes

Usage

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

Arguments

vec

Values

fac

Groups

eff

Effect

dec

Decimals to round

Value

List with test outputs.

Details

Pairwise table of effect sizes.

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

Examples

Run this code
# NOT RUN {
hwc <- read.table("http://ashipunov.info/data/hwc.txt", h=TRUE)
pairwise.Eff(hwc$WEIGHT, hwc$COLOR)
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