Description Usage Arguments Details Value Author(s) See Also
Build a 'caterpillar' plot of lmer random effects.
1 | ggCaterpillar(re, QQ = TRUE, likeDotplot = TRUE)
|
re |
An object of class ranef.mer. |
QQ |
If TRUE, create QQ plot. If FALSE create caterpillar plot. |
likeDotplot |
Imitate dotplot() -> same scales for random effects. |
Create ggplot based QQ plot or caterpillar plot for ranef
from merMod
object.
A ggplot
object.
http://stackoverflow.com/users/484139/caracal http://stackoverflow.com/users/1857266/didzis-elferts
Original code cribbed from here: http://stackoverflow.com/questions/13847936/in-r-plotting-random-effects-from-lmer-lme4-package-using-qqmath-or-dotplot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.