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

View source: R/sk_esd.R

sk_esdR Documentation

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

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

checkDifference(ranking, data)

sk_esd(x, version = "np", 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.

version

The version of scott-knott test. "np" = non-parametric, "p" = parametric, "o" = original

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

sk <- sk_esd(example)
checkDifference(sk$groups, example)

sk <- sk_esd(example)
plot(sk)

sk <- sk_esd(maven)
plot(sk)



klainfo/ScottKnottESD documentation built on Feb. 15, 2023, 5:46 a.m.