I would like to know a simple way to change the color of the syntax that is printed with Markdown. The code chunk is
It shows up as a very light blue against a light grey background. Is it possible to change the code color and/or the background?
Also, I am trying to change the height and width of some plots that were created with stan_plot (which uses ggplot). I'm using the 'egg' program with ggarrange but when I change the heights and widths specifications, nothing really changes. The code chunk is
stanplot <- stan_plot(myfit, pars=c("alpha","beta1","sigma"))
stantrace <- stan_trace(myfit,inc_warmup=T, pars=c("alpha","beta1","sigma"))
standens <- stan_dens(myfit, pars=c("alpha","beta1","sigma"))
stanac <- stan_ac(myfit, pars=c("alpha","beta1","sigma"))
ggarrange(stanplot,stantrace,standens,stanac,nrow=2, ncol=2, heights=c(1,1),widths=c(1.5,1.5))
No matter what I do with the heights and widths numbers, it doesn't change the layout.Please ask your questions about R Markdown here.