Learn R Programming

effects (version 3.0-1)

effects-package: Effect Displays for Linear, Generalized Linear, Multinomial-Logit, Proportional-Odds Logit Models and Mixed-Effects Models

Description

Graphical and tabular effect displays, e.g., of interactions, for linear (including fit via gls), multivariate-linear, generalized linear, multinomial-logit, proportional-odds logit, mixed-effect, polytomous latent-class, and some other models; (multidimensional) component+residual plots for linear and generalized linear models.

Arguments

Details

ll{ Package: effects Version: 3.0-1 Date: 2014/08/02 Depends: lattice, grid, colorspace Suggests: nlme, lme4, MASS, nnet, poLCA LazyLoad: yes LazyData: yes License: GPL (>= 2) URL: http://www.r-project.org, http://socserv.socsci.mcmaster.ca/jfox/ } This package creates effect displays for various kinds of models, as partly explained in the references. Typical usage is plot(allEffects(model)), where model is an appropriate fitted-model object. Additional arguments to allEffects and plot can be used to customize the resulting displays. The function effect can be employed to produce an effect display for a particular term in the model, or to which terms in the model are marginal. The function Effect may similarly be used to produce an effect display for any combination of predictors. For linear and generalized linear models it is also possible to plot partial residuals to obtain (multidimensional) component+residual plots. See ?effect, ?Effect, and ?plot.eff for details.

References

Fox, J. (1987) Effect displays for generalized linear models. Sociological Methodology 17, 347--361. Fox, J. (2003) Effect displays in R for generalised linear models. Journal of Statistical Software 8:15, 1--27, <http://www.jstatsoft.org/counter.php?id=75&url=v08/i15/effect-displays-revised.pdf&ct=1>. Fox, J. and R. Andersen (2006) Effect displays for multinomial and proportional-odds logit models. Sociological Methodology 36, 225--255. Fox, J. and J. Hong (2009). Effect displays in R for multinomial and proportional-odds logit models: Extensions to the effects package. Journal of Statistical Software 32:1, 1--24, <http://www.jstatsoft.org/v32/i01/>.