ScottKnott

ScottKnott is an R package that implements the Scott & Knott clustering algorithm as a multiple comparison method in the Analysis of Variance (ANOVA) context, for both balanced and unbalanced designs.

CRAN status CRAN downloads CRAN checks Lifecycle: stable License: GPL (>= 2)

Key Features

Installation

Install from CRAN:

install.packages("ScottKnott")

Install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("ivanalaman/ScottKnott")

Quick Start

library(ScottKnott)

## Completely Randomized Design (CRD) — balanced
data(CRD1)

sk1 <- with(CRD1,
            SK(y ~ x,
               data = dfm,
               which = 'x'))
summary(sk1)
plot(sk1, 
     dispersion = 'sd',
     d.col = 'steelblue')

## Randomized Complete Block Design (RCBD)
data(RCBD)

sk2 <- with(RCBD,
            SK(y ~ blk + tra,
               data = dfm,
               which = 'tra'))
summary(sk2)
plot(sk2, 
     dispersion = 'ci', 
     d.col = 'red')

Project Layout

Contributing

Contributions are welcome. Open an issue or submit a pull request with:

To check and build locally:

R CMD check ScottKnott
R CMD build ScottKnott
R CMD INSTALL ScottKnott_X.X-X.tar.gz

Roadmap


Developed by:
Faria, J. C.; Jelihovschi, E. G.; Allaman, I. B.
Universidade Estadual de Santa Cruz - UESC
Departamento de Ciencias Exatas - DCEX
Ilheus - Bahia - Brasil