sk_esd: A function to check the magnitude of the difference for all...

Description Usage Arguments Value Author(s) Examples

View source: R/sk_esd.R

Description

A function to check the magnitude of the difference for all pairs of treatments

An enhancement of the Scott-Knott test (which cluster distributions into statistically distinct ranks) that takes effect size into consideration.

Usage

1
2
3
checkDifference(ranking, data)

sk_esd(x, alpha = 0.05, ...)

Arguments

ranking

A ranking that is produced by the Scott-Knott ESD test

data

a data frame of treatment means

x

A wide-format data frame.

alpha

The significance level.

...

Optional parameters.

Value

A result of the magnitude of the difference for all pairs of treatments.

A sk_esd object.

Author(s)

Chakkrit Tantithamthavorn (kla@chakkrit.com)

Examples

1
2
3
4
5
6
7
8
sk <- sk_esd(example)
checkDifference(sk$groups, example)

sk <- sk_esd(example)
plot(sk)

sk <- sk_esd(maven)
plot(sk)

ScottKnottESD documentation built on May 2, 2019, 4:01 a.m.