glhtSig {NCStats}R Documentation

Extracts names for significantly different comparisons.

Description

Extracts names for significantly different comparisons from a glht object.

Usage

glhtSig(object, ...)

## S3 method for class 'glht'
glhtSig(object, type = c("single-step", "Shaffer", "Westfall",
  "free", stats::p.adjust.methods), alpha = 0.05, ...)

Arguments

object

An object saved from glht from the multcomp package.

...

Other arguments to pass through to summary.glht.

type

A function for computing p-values (see glht).

alpha

A numeric indicated the rejection criterion to be used for identifying significant comparisons. Defaults to 0.05.

Value

A vector containing the names of the paired comparisons that have a p-value less than alpha.

Note

This can be very slow to process. Be patient.

See Also

glht and summary.glht in multcomp.

Examples

## NONE YET


[Package NCStats version 0.4.7 Index]