HSD {structToolbox} | R Documentation

## HSD model class

### Description

Tukey's honest significant difference. Usually used in conjunction with ANOVA, this model compares classes in a pairwise fashion to try to identify which groups are different to the others (if any).

### Usage

    HSD(alpha = 0.05, mtc = "fdr", formula, unbalanced = FALSE, ...)

### Arguments

`alpha` | The p-value threshold. Default alpha = 0.05.
`mtc` | Multiple test correction method passed to `p.adjust`. Default mtc = 'fdr'.
`formula` | The formula to use. See `lm` for details.
`unbalanced` | TRUE or FALSE to apply correction for unbalanced designs. Default is FALSE.
`...` | additional slots and values passed to struct_class

### Value

struct object

### Examples

    D = iris_DatasetExperiment()
    M = HSD(formula=y~Species)
    M = model_apply(M,D)

[Package structToolbox version 1.0.1 Index]