Brms ploting by marginal_effect with ggplot2

Hi everyone!

I’m trying to using brms package and plotting the result.
I used “marginal_effects” but the 95%CI’s color is not good for me.
Then I trying to change colors and I could change the lines’ color but can’t change 95%CI.

code is as below.

me<-plot(marginal_effects(fit)
me[[1]]+ scale_color_brewer(palette = “Set1”)

I am sorry to trouble you, but please reply regarding this matter.

・Operating System: Windows 10
・brms Version:2.8.0

You find an example in the doc of marginal_effects.

1 Like