summary.assumptions_micomp: Summary method for the assumptions of parametric tests used...

View source: R/micomp.R

summary.assumptions_micompR Documentation

Summary method for the assumptions of parametric tests used in multiple comparisons of outputs

Description

Summary method for objects of class assumptions_micomp, which contain the assumptions for the parametric tests used in multiple comparisons of outputs.

Usage

## S3 method for class 'assumptions_micomp'
summary(object, ...)

Arguments

object

Object of class assumptions_micomp.

...

Currently ignored.

Value

A list in which each component is associated with a distinct comparison. Each component contains a matrix, in which columns represent individual outputs and rows correspond to the statistical tests evaluating the assumptions of the parametric tests used in each output. More specifically, each matrix has rows with the following information:

Royston (group, ve=%/npcs=)

One row per group per variance to explain / number of PCs, with the p-value yielded by the Royston test (mvn) for the respective group and variance/npcs combination.

Box's M (ve=%/npcs=)

One row per variance to explain with the p-value yielded by Box's M test (boxM).

Shapiro-Wilk (group)

One row per group, with the p-value yielded by the Shapiro-Wilk test (shapiro.test) for the respective group.

Bartlett

One row with the p-value yielded by Bartlett's test (bartlett.test).

Examples


# Create a micomp object, use provided dataset
mic <- micomp(5, c(0.7, 0.8, 0.9),
              list(list(name = "NLOKvsJEXOK", grpout = pphpc_ok),
                   list(name = "NLOKvsJEXNOSHUFF", grpout = pphpc_noshuff)),
              concat = TRUE)

# Get the assumptions summary
sam <- summary(assumptions(mic))


fakenmc/micompr documentation built on Aug. 6, 2024, 8:29 p.m.