Learn R Programming

factorplot (version 1.2.3)

summary.factorplot: Summary method for objects of class factorplot

Description

Summarizes the number of significant positive and negative differences for objects of class factorplot

Usage

# S3 method for factorplot
summary(object, ...)

Value

Printed Output

The printed output summarises the number of stimuli that are significantly higher or lower and not significantly different from each other.

Arguments

object

An object of class factorplot

...

Other arguments passed to summary, currently not implemented

Author

Dave Armstrong

See Also

factorplot

Examples

Run this code

x <- as.factor(round(runif(1000, .5,5.5)))
levels(x) <- paste("lab", 1:20, sep="")
X <- model.matrix(~x)
b <- rnorm(ncol(X),0,4)
Y.hat <- X %*% b 
Y <- Y.hat  + rnorm(1000)
mod <- lm(Y ~ x)
fp <- factorplot(mod, factor.variable="x", pval=0.05, order="alph")
summary(fp)

Run the code above in your browser using DataLab