Skip to contents

Provides a statistical significance test for all unadjusted pairwise comparisons.

Usage

# S3 method for data.frame
testMeansPairwise(frame, mu=0, ...)

# S3 method for formula
testMeansPairwise(formula, mu=0, ...)

# S3 method for wsm
testMeansPairwise(moments, mu=0, ...)

# S3 method for bsm
testMeansPairwise(moments, mu=0, ...)

Arguments

frame

a set of (non-empty) numeric vectors of data values

formula

a formula of the form lhs ~ rhs where lhs is a numeric variable giving the data values and rhs a factor giving the corresponding groups

moments

a matrix/frame of descriptive/summary statistics

mu

a number indicating the true/hypothesized value of the mean

Value

The returned frame contains the following components:

Diff

the differences between the pairs of means

SE

the standard error of the differences

df

the degrees of the freedom for the differences

t

the t values for the differences

p

the p values for the differences