Learn R Programming

micompr (version 1.1.4)

assumptions.micomp: Get assumptions for parametric tests performed on each comparisons

Description

Get assumptions for parametric tests performed on multiple comparisons (i.e. from objects of class micomp).

Usage

# S3 method for micomp
assumptions(obj)

Value

Object of class assumptions_micomp containing the assumptions for parametric tests performed for the multiple comparisons held by the mcmp object. This object is a multi-dimensional list of assumptions_cmpoutput objects. Rows are associated with individual outputs, while columns are associated with separate comparisons.

Arguments

obj

Object of class micomp.

Examples

Run this code

# Create a micomp object, use provided dataset
mic <- micomp(6, 0.8,
              list(list(name = "NLOKvsJEXOK", grpout = pphpc_ok),
                   list(name = "NLOKvsJEXNOSHUFF", grpout = pphpc_noshuff),
                   list(name = "NLOKvsJEXDIFF", grpout = pphpc_diff)))

# Create an object containing the statistic tests evaluating the assumptions
# of the comparisons performed in the mic object
a <- assumptions(mic)

Run the code above in your browser using DataLab