build_model() or cell_means()graph_model() when required inputs are not specifiedsimple_slopes()BUG FIX
simple_slopes()BUG FIXES
beta() and simple_slopes() resulting from factor variables that have spaces or other special charactersgraph_model() documentationBUG FIX
lm and lme4 models. This occurred in several functions, including beta(), simple_slopes(), and sig_regions(). Weights should now properly be applied without issue.Just a note: While reghelper has officially reached version 1.0.0, the fact is that it has been stable and relatively feature complete quite some time. The change from v0.3.6 to v1.0.0 is not drastic, but does involve some minor breaking changes, hence an increase to the major version number. But quite frankly, it should have been bumped to v1.x a long time ago.
BREAKING CHANGES
beta() method has now been removed for nlme and lme4 models. These had been deprecated in the previous release. See the README for more details: https://github.com/jeff-hughes/reghelpersimple_slopes() for an lme4 model now returns a data frame of class simple_slopes rather than simple_slopes_lme4simple_slopes() with categorical variables with more than two levels (i.e. a factor variable with two or more contrasts), the output now provides the name of the contrast in the parentheses after the sstest label. Users who are extracting values should use startsWith(value, 'sstest') rather than value == 'sstest' to match appropriately.BUG FIXES
simple_slopes() output when there is more than one categorical variable with more than two levels.lmerTest models in simple_slopes()This release deprecates the beta() method for nlme and lme4 models. See the README for more details: https://github.com/jeff-hughes/reghelper
This is a patch release to fix a bug in the beta() function, to allow use of lmerTest models.
This is a patch release to cover changes made to the ggplot2 package.
BUG FIXES
This is a patch release covering changes necessary to prepare for submission to CRAN. Most changes will not affect current code; however, be aware of the following changes:
Many of the functions have had the dots parameter (…) added, to ensure consistency with the S3 generic function. However, any extra parameters will simply be ignored. Thus, this does not impact any user code.
Package functions which implement the following generic methods have had their first parameter renamed, again for consistency with the S3 generic: summary, print, coef, residuals, fitted. In most cases, this will not impact user code, unless you have used named parameters, e.g., summary(model=results) should now be summary(object=results).
BUG FIXES
Fixed bug when using build_model but only providing a single model to be run.
Created special print method for simple_slopes so that “lme4” models print correctly.
Fixed bug (correctly this time) with simple_slopes using incorrect contrasts for factor variables.
BUG FIXES
simple_slopes using incorrect contrasts for factor variables. Resolves Issue #2.build_model now drops missing data based on the variables included in the final model, so that all models are tested on the same data.
The titles parameter of graph_model has been changed to labels, and now takes a named list rather than relying on the index of a character vector.
graph_model function extended to include lme and merMod models.
NEW FEATURES
beta function extended to include lme and merMod models.
build_model function extended to include aov and glm models.
cell_means function extended to include glm models.
graph_model function extended to include aov and glm models.
sig_regions function extended to include glm models.
MAJOR CHANGES
block_lm function name to build_model.NEW FEATURES
Added examples to documentation for all functions.
beta function extended to include glm models.
cell_means function extended to include aov models.
ICC function extended to include merMod models (from “lme4” package).
simple_slopes function extended to include aov, glm, lme, and merMod models.
simple_slopes now includes print function to include significance stars.
BUG FIXES
build_model, cell_means, and graph_model. Resolves Issue #1.NEW FEATURES
beta function calculates standardized beta coefficients.
block_lm function allows variables to be added to a series of regression models sequentially (similar to SPSS).
ICC function calculates the intra-class correlation for a multi-level model (lme only at this point).
cell_means function calculates the estimated means for a fitted model.
graph_model function graphs interactions at +/- 1 SD (uses ggplot2 package).
simple_slopes function calculates the simple effects of an interaction.
sig_regions function calculate the Johnson-Neyman regions of significance for an interaction.