Hello community,
Could someone advise if there is a way to change colours transparency in conditional_effects plot in brms package. So far, I cannot override default alpha by scale_alpha_manual. Any ideas?
conditions1=data.frame(species.m = c("Acer platanoides","Acer pseudoplatanus","Fagus sylvatica"), status.p=c("alive"))
plot(conditional_effects(fit3, method = "fitted", effects=c("ba_m2.c:species.p"),
conditions=conditions1, mean=TRUE), plot = T, points=T, rug=T, facet_args=nlist(facets="species.m"))[[1]]+
theme(legend.position = "top")+scale_y_continuous(breaks=seq(0,7, by=1))+coord_cartesian(y=c(0,7))+
scale_color_manual(values = c("Acer platanoides"="darkblue","Acer pseudoplatanus"="mediumslateblue","Fagus sylvatica"="deeppink3","Ulmus glabra"="yellow"))+
scale_fill_manual(values = c("Acer platanoides"="darkblue","Acer pseudoplatanus"="mediumslateblue","Fagus sylvatica"="deeppink3","Ulmus glabra"="yellow"))+
scale_alpha_manual(values = c("Acer platanoides"=0.1,"Acer pseudoplatanus"=0.1,"Fagus sylvatica"=0.1,"Ulmus glabra"=0.1))
Operating System: Windows 10
Interface Version: brms 2.14.0
Compiler/Toolkit: