summary.factorplot: Summary method for objects of class factorplot

Description Usage Arguments Author(s) See Also Examples

View source: R/factorplot.R

Description

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

Usage

1
2
	## 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 (Department of Political Science, UW-Milwaukee)

See Also

factorplot

Examples

1
2
3
4
5
6
7
8
9
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)

Example output

     sig+ sig- insig
lab1    2    2     0
lab2    4    0     0
lab3    1    3     0
lab4    0    4     0
lab5    3    1     0

factorplot documentation built on May 2, 2019, 6:06 p.m.