strengejacke / sjPlot

sjPlot - Data Visualization for Statistics in Social Science

Home Page:https://strengejacke.github.io/sjPlot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

plot_model not taking ggplot functions

anaveda opened this issue · comments

Hi,
I am trying to plot prediction from lmer. I am trying to add thousands separtor as in other ggplot I've done but it is not working. This is the scripit I am using:

p<-plot_model(m1, type = "pred", line.size = 1, colors = "black")
image

p + scale_y_continuous(labels=function(x) format(x, big.mark = ",", scientific = FALSE))
NULL

I will appreciate any help on this. Thanks. Adrian