Using scale_x_continuous to change the scale of the x axis of a mcmc_areas() plot

So I read the docs more thoroughly and I think I’m going to be able to answer my own question, will post here in case others stumble upon this and it helps them.

mcmc_areas(
  model,
transformations = function(x) exp(x)
)

…will do the trick. Can also specify transformations = “exp” if all you want to do is apply exp(), but using the throwaway function also makes it easy to generalize so you can perform any custom transformation you want.

2 Likes