Learn R Programming

factorplot (version 1.2.3)

factorplot-package: factorplot

Description

Factorplot is a way to summarize and plot information from categorical predictors from linear models and GLMs. It creates all simple contrasts and analytical standard errors for those contrasts.

Arguments

Author

Dave Armstrong Maintainer: Dave Armstrong <dave@quantoid.net>

Details

Package:factorplot
Type:Package
Version:1.2.3
Date:2024-05-15
License:GPL (>=2)
LazyLoad:yes

After a linear model or GLM has been estimated, the factorplot command creates all pairwise differences among the levels (including the reference category) of the indicated factor as well as their associated standard errors to facilitate hypothesis testing directly. The print method prints the pairwise difference, standard error, p-value and Bonferroni-corrected p-value. The summary method prints the number of significant positive/negative pairwise differences. The plot method makes something akin to an upper-triangular levelplot that indicates whether differences are positive/negative and statistically significant.

References

Armstrong, David A., II. 2013. factorplot: Improving Presentation of Simple Contrasts in Generalized Linear Models. The R Journal 5(2): 4--15.