Skip to contents

Provides a statistical significance test for an Analysis of Variance for a factorial or mixed design.

Usage

# S3 method for data.frame
testMeansFactorial(frame, by, ...)

# S3 method for formula
testMeansFactorial(formula, by, ...)

# S3 method for wsm
testMeansFactorial(moments, corrs, ...)

# S3 method for bsm
testMeansFactorial(moments, ...)

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

corrs

a matrix/frame of correlations for the data set

by

a blocking factor

Value

The returned frame contains the following components:

F

the F value for the Effect effect

dfb

the degrees of freedom for the Effect effect

dfw

the degrees of freedom for the error term

p

the p value for the Effect effect