Created
March 8, 2017 14:47
-
-
Save aurielfournier/1a709621a91c3c82a4690b81f474cdcd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(sjPlot) | |
library(sjmisc) | |
library(lme4) | |
# load sample data set. | |
data(efc) | |
efc$scale_c12hour <- scale(efc$c12hour) | |
efc$scale_e15reat <- scale(efc$e15relat) | |
m <- glmer(c175empl ~ scale_c12hour + scale_e15reat + (1|resttotn), data=efc, family=binomial(link = "logit")) | |
sjp.glmer(m, type="fe.pc", show.ci=TRUE) | |
# what I would like to do is have this plot, but the x axis be the actual variable, not the scaled variable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment