Published July 3, 2018
| Version 0.4.0
Software
Open
ggeffects: Tidy Data Frames of Marginal Effects for ggplot.
Description
General
- Removed alias names
mem()
,eff()
andame()
. - For mixed models (packages lme4, nlme, glmmTMB), the uncertainty of the random effect variances is now taken into account when
type = "re"
. - Computing confidence intervals for mixed models should be much more memory efficient now, resulting less often in warnings about memory allocation problems.
- Updated reference in
CITATION
to the publication in the Journal of Open Source Software. - A test-suite was added to the package.
New functions
pretty_range()
, to create a pretty sequence of integers of a vector.
Changes to functions
ggpredict()
gets acondition
-argument to specify values at which covariates should be held constant, instead of theirtypical
value.- The
pretty
-option forggpredict()
now calculates more values, leading to smoother plots. - The
terms
-argument inggpredict()
can now also select a range of feasible values for numeric values, e.g.terms = "age [pretty]"
. In contrast to thepretty
-argument, which prettyfies all terms, you can selectively prettify specific terms with this option. - The
terms
-argument inggpredict()
now also supports all shortcuts that are possible for themdrt.values
-argument ingginteraction()
, so for instanceterm = "age [meansd]"
would return three values: mean(age) - sd(age), mean(age) and mean(age) + sd(age). plot()
gets some new arguments to control which plot-title to show or hide:show.title
,show.x.title
andshow.y.title
.plot()
gets alog.y
argument to transform the y-axis to logarithmic scale, which might be useful for binomial models with predicted probabilities, or other models with log-alike link-functions.- The
plot()
-method for plotting all effects withggpredict()
(whenterm = NULL
) now allows to arrange the plot in facets (usingfacets = TRUE
). - Values in dot-argument for
plot()
are now passed down toggplot::scale_y*()
, to control the appearance of the y-axis (likebreaks
).
Bug fixes
- Fixed issue with binomial models that used
cbind(...)
as response variable. - Fixed issue with suboptimal precision of confidence resp. prediction intervals for mixed models (packages lme4, nlme), which are now more accurate.
Files
strengejacke/ggeffects-0.4.0.zip
Files
(1.3 MB)
Name | Size | Download all |
---|---|---|
md5:899e44ed06c27dd3e3a52426720edb43
|
1.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/strengejacke/ggeffects/tree/0.4.0 (URL)