NEWS
effects 4.2-2 (2022-07-13)
- Added warning or note about unestimable effects.
- More robust computation of residual df in Effect.lm(), to accommodate broader classes of models.
- Insure that factor levels of focal predictor are in proper order bug (reported by Christoph Scherber) didn't visibly affect plots or tables, just order of levels in returned factor.
- Functions supported by effects vignette rewritten (and renamed).
effects 4.2-1 (2022-01-06)
- Allow the vcov. argument in the call to one of the effect methods to be a matrix or a function. Previously only a function was permitted.
- Fixed bug in plot.eff() for multiline plots in which the x.var argument is set explicitly (reported by Gerrit Eichner).
- Small improvements to docs.
effects 4.2-0 (2020-08-11)
- Adding the use of the insight package to get formulas.
- Added Effect.glmmPQL() for fitting generalized linear mixed models using the glmmPQL() function in the MASS package for penalized quasi-likelihood estimation.
- Don't ignore lines lty sub-argument to plot.effpoly() (fixing a bug reported by Laura Adamovicz).
- One-column matrix predictors trigger a warning and correction (following problem reported by Carla Hendricks).
- Added regression tests for classes of model objects supported. Tests must be enabled in the effects sources at tests/regression-tests.R.
- Rewrite of defining effect method vignette.
- Minor changes to predictor effects gallery vignette.
effects 4.1-4 (2019-11-15)
- Change class(x) == "y" to inherits(x, "y") in code.
effects 4.1-3 (2019-10-27)
- Handle xlevels=n argument correctly in Effect() (fixing bug reported by Gerrit Eichner).
- Add col argument to effectsTheme(), mostly to accommodate colorblind-friendly palette (suggestion of Sercan Kahveci).
effects 4.1-2 (2019-09-03)
- Effect methods for clm, clm2, and clmm models were not correctly passing the estimated theshholds to polr for computing effects (error reported by Stefan Th. Gries).
- Updated "Defining Effects Methods ..." vignette to reflect revisions to Effect.clm, Effect.clm2 and Effect.clmm.
- Make sure that Effect() and plot() methods work correctly with character and logical predictors (following bug report by Julian Gaviria Lopez).
effects 4.1-1 (2019-05-28)
- Accommodate character and logical predictors.
- Make sure that lty argument to plot() is not ignored.
- Change behavior of default levels argument to predictorEffect.default() and predictorEffects.default() when residuals=TRUE to match that of Effect.lm().
- Fix to Effect.default() to make fake glm fit more robust and fixed bug in .set.given.equal() in tests for model class.
effects 4.1-0 (2018-11-30)
- Fixed a bug in Effect.gls to ignore the 'weights' argument on the call to gls.
- Added predictor effects graphics gallery vignette.
- predictorEffect() and predictorEffects() have new xlevels and focal.levels arguments.
- Removed the transform argument from as.data.frame.eff(), and added type argument. Made the transformation argument to Effect() a legacy argument and added transform as sub-argument to axes=list(y=list(transform=...)) in plot.eff().
- Rearanged man files.
- Extend use of cex sub-args for x and y axes and lattice strips to plot.effpoly().
- Avoid warnings when testing given.values == "default" or "equal".
- Modified plot.effpoly() so that multiline plots don't show confidence limits by default, and so that confidence bars for a factor are staggered.
- Added effectsHexsticker().
- Fixed bug in plotting partial residuals when a factor focal predictor had empty levels.
- Small fixes and improvements.
effects 4.0-3 (2018-08-19)
- xlevels argument now works with predictorEffects.
- Added cex sub-args for x and y axes (suggestion of Charles Leger) and for lattice strips.
- modified .onAttach() so that trellis device doesn't open, suggestion of Kurt Hornik.
effects 4.0-2 (2018-06-19)
- Fixed bug with offsets in predictorEffects and a bug with variances in Effect.default.
- Support partial-residual plots when the predictor on the horizontal axis is a factor.
- For nonstandard models like lme, the weights argument was obtained from the call that created the object. This argument was never used by effects, and caused an error with lme models that used weights. The weights argument is now ignored.
- Fixed a bug due to new complete arg in vcov.lm() and vcov.glm().
- lty was ignored for multiplot with factor on x-axis; now fixed (reported by Krisztian Magori).
- Small fixes and improvements.
effects 4.0-1 (2018-03-28)
- Replaced the Effect.default method so it is easier to write new methods.
- Added estimability check for linear models and glims. Fixed bugs in plot with rank deficient models.
- Repaired clm, clmm and clm2 methods that were broken.
- Fixed a bug in predictorEffects with polym use to specify multivariate polynomials.
- Replace confint and partial.residuals argument to Effect() with se and residuals; confint and partial.residuals now legacy arguments.
- Small fixes/improvements.
effects 4.0-0 (2017-09-15)
- This is a major update of the effects package.
- Moved data sets to the carData package.
- Introduced predictor effects.
- Reorganized complex arguments to plot() and Effect() into lists; legacy arguments retained as alternatives.
- Use lattice theme for plot defaults.
- Improve generation of default values for numeric predictors.
- Methods for "svyglm" objects.
- New vignette on partial residuals with contrived data.
- Various small improvements and fixes.
effects 3.1-3
- Fixed bug in using multiline=TRUE with effects with 4 or more terms
- Fixed a bug in Effect.clmm, Effect.mer, and Effect.lme that caused failure with a data.frame named m
- Fixed bug in Effect.clmm and Effect.clmm2
- Improved stability of handling linear and generalized linear mixed effects models from lme4 and nlme
- Fixed bug in plot.eff() affecting multiline displays with four or more predictors in the effect.
- Fixed warnings (new in R 3.4.0) produced by use of 1 x 1 arrays in computing SEs of effects for multinom and polr model (problem reported by Stefan Th. Gries).
effects 3.1-2 (2016-10-05)
- Fixed bug handling 'start' argument in glmm's. Reported by Mariano Devoto; fix by Ben Bolker
- Modified internal function make.ticks() so that it doesn't fail due to floating-point inaccuracy (following error reported by Joe Clayton Ford).
- Check formula for presence of factor(), etc. (suggestion of Ulrike Gromping).
- Fixed bug in Effect.clm() and some other methods (reported by David Barron), which didn't pass ... argument.
- A warning is now printed if partial residuals are requested in a multiline plot.
- Corrected plotting of partial residuals with various scalings of the y-axis and x-axis.
- Added show.strip.values argument to plot.eff() and plot.effpoly().
effects 3.1-1 (2016-03-29)
- Requires R >= 3.2.0 (requested by CRAN).
effects 3.1-0 (2016-03-25)
- Corrected and improved computation of partial residuals, fixing bug introduced by bug fix in 3.0-7.
effects 3.0-7 (2016-02-20)
- Extends to logistic ordinal response models fit using 'clm' and 'clmm' in the 'ordinal package.
- Fixed bug in handling of terms like polynomials in non-focal covariates (reported by Urs Kalbitzer).
- Added package tests.
effects 3.0-6 (2016-02-03)
- Fix bug in Effect for mer objects with 'poly' in the formula (and related issues).
- Allow "||" in variance formulae in lmer4 models.
- Minor bug in handling class=="array" in the Effect() method.
Version 3.0-5
- Fixed bug when the name of the data frame is the name of function like "sort" in mixed-effects models with lme4 (problem originally reported by Saudi Sadiq).
- Fixed bug in predictor-name matching that could occur in names with periods (reported by Trevor Avery).
- Fixed package imports to conform to new CRAN rules.
- Added residuals.cex argument to plot.eff().
- Changes to work with pbkrtest 0.4-4.
effects 3.0-4 (2015-06-11)
- New default of KR=FALSE because KR=TRUE can be very slow.
- KR argument now works correctly with allEffects().
- Mixed models with negative binomial did not work and now they do.
- Added methods for ordinal mixed models using 'clmm2' for the ordinal package.
- Moved pbkrtest to Suggests (wasn't done properly previously).
- Tweak to handling key.args (suggestion of Michael Friendly).
- Use non-robust loess smooth for partial residuals from non-Gaussian GLMs.
- Rationalized type and rescale.axis arguments to plot.eff(); scale.axis argument is deprecated.
- Added setStrip() and restoreStrip() to control colors of lattice strips and make beginning and ending conditioning lines clearer.
- Added residuals.smooth.color argument to plot.eff().
- Cleaned up sources to conform to CRAN requirements.
effects 3.0-3 (2014-12-10)
- Made key.args argument to plot.eff() and plot.effpoly() more flexible (suggestion of Ian Kyle).
- Moved pbkrtest package to Suggests and adjusted code for mixed models accordingly, to accomodate Debian (request of Dirk Eddelbuettel).
- Fixed \dont-test{} examples.
effects 3.0-2 (2014-11-25)
- plot.eff() honors rescale.axis=FALSE when plotting partial residuals (bug reported by Alexander Wietzke).
- Effect.mer() can use KR coefficient covariances to construct CIs for effects in LMMs.
- Modernized package dependencies/namespace.
effects 3.0-1 (2014-08-14)
- Added an argument vcov. to Effect and effect (and allEffects) to select a function for computing the variance covariance matrix of the coefficient estimates. The default is the usual 'vcov' fucntion.
- Added a warning to the documentation for effect for using predictors of class "dates" or "times".
- Fixed bug in Effect.gls() when var or cor function depends on variables in the data set (reported by Felipe Albornoz).
- Small fixes/improvements.
effects 3.0-0 (2014-03-21)
- Added partial residuals for multidimensional component+residual plots to Effect.lm().
- Small bug fixes.
effects 2.3-0 (2013-11-07)
- removed stray character in a the mixed models file
- ci.style="bands" is now the default for variates on the horizontal axis and can also be used with multiline=TRUE
- Added ci.style='bands', band.transparency, band.colors, and lwd to plot.effpoly() for line plots to give filled confidence bands and control line width
- Added Effect.mlm() for multivariate linear models
- Interpolating splines are now used by default when drawing lines in effects plots unless the argument use.splines=FALSE
- effect() now calls Effect(); all effect() methods are removed, but effect() will continue to work as before.
- Various methods for effect objects now handle factors with a "valid" NA level (fixing bug reported by Joseph Larmarange).
- Further bug fixes in effects.mer() and effects.lme() (following bug report by Felipe E. Albornoz).
effects 2.2-6 (2013-10-12)
- bug fixes in effects.mer and effects.lme.
- added terms.gls() to make effect.gls() and Effect.gls() work again.
- plot.eff() gains an lwd= option to control the width of fitted lines.
- Added ci.style='bands' and alpha= to plot.eff() for non-multiline plots to give filled confidence bands.
effects 2.2-5 (2013-09-25)
- Added support for polytomous latent class analysis based on the poLCA package.
- Modified mixed-model methods to all use in user-functions.
- Changed the default method for determining number of levels for a continuous predictor; see help page for 'effect' and discussion of the 'xlevels' argument for details. Argument 'default.levels', while still included for compatibility, is depricated.
- Added .merMod methods for development version of lme4.
- Added support for lme4.0.
- Fixed bug preventing restoration of warn option (reported by Kenneth Knoblauch).
- Fixed handling of ticks.x argument to plot.eff() and plot.effpoly(), now works as advertized.
- Adjusted package dependencies, imports for CRAN checks.
- Changed name of Titanic dataset to TitanicSurvival to avoid name clash (request of Michael Friendly).
- Minor fixes.
effects 2.2-4 (2013-02-18)
- Add argument 'ci.style' to plot.eff() and plot.eff() to allow confidence intervals to be displayed as lines or using error bars. Confidence bars are permitted on multiline plots (after suggestion by Steve Taylor).
- Allow empty cells with crossed factors for lm, glm and multinom.
- Added warning about logical predictors (suggestion of Kazuki Yoshida).
effects 2.2-3 (2012-12-15)
- Fixed bugs in axis scaling and xlim specification (reported by Achim Zeileis).
- Small changes for compatability with R 2.16.0.
effects 2.2-2 (2012-11-21)
- Use asymptotic normal to get confidence limits for mer and lme objects
- Correct effects.lme to work with weights
- Added Effect.mer(), Effect.lme(), Effect.gls(), Effect.multinom(), and Effect.polr() methods.
- Safe predictions simplified in effect.multinom() and effect.polr().
- plot() methods for eff and effpoly objects permit predictor transformations.
- Added as.data.frame.eff(), as.data.frame.effpoly(), and as.data.frame.efflatent (suggestion of Steve Taylor).
- Small bug fixes.
effects 2.2-1 (2012-09-01)
- Some examples wrapped in \donttest{} to decrease package check time.
effects 2.2-0
- Introduced more flexible Effect() generic, along with Effect.lm() method for linear and generalized linear models.
- Default is now ask=FALSE for plot.efflist().
- globalVariables("wt") declared for R 2.15.1 and above.
- Small bug fixes.
effects 2.1-2
- Offsets for linear and generalized linear (and mixed) models are now supported.
- cbind(successes, failures) now supported for binomial generalized linear (and mixed) models.
effects 2.1-1 (2012-04-11)
- plot.effpoly() now honors ylim argument when no confidence intervals are plotted (fixing problem reported by Achim Zeileis).
- safe predictions simplified in effect.lm(), producing correct results for mixed models (other methods to follow).
- plot.eff() now honors type argument.
- nlme and lme4 moved to Suggests.
- effect() now works when options(OutDec= ',') (suggestion of Guomundur Arnkelsson).
effects 2.1-0 (2011-08-04)
- added support for 'mer' objects from lme4 and 'lme' objects from 'nlme'. Added 'rotx', 'roty' and 'grid' arguments to the plot methods.
- See CHANGES file for changes to older versions.