summary.factorplot: Summary method for objects of class factorplot

View source: R/factorplot.R

summary.factorplotR Documentation

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 class 'factorplot'
summary(object, ...)

Arguments

object

An object of class factorplot

...

Other arguments passed to summary, currently not implemented

Author(s)

Dave Armstrong

See Also

factorplot

Examples


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)


davidaarmstrong/factorplot documentation built on May 18, 2024, 3:32 p.m.