Hi Team Stan,
I was using the traceplot function in rstan and had a thought. If I use just
I get traceplots of all the parameters stacked one above another. If there are many parameters, which is likely the case for many complex models for which stan is especially useful, this is difficult to visualize as everything gets compressed (unless on a very large monitor). In RStudio, which is becoming hugely popular, these plots often can't be printed at all because they are bigger than the plot window (a limitation of RStudio that I hope gets fixed someday). I was wondering if other people thought that it would be more pleasing to have traceplot works like it does in coda and have the plots appear in succession each time the user hits enter?
One possible workaround currently would be to write a loop function for traceplot using the pars option.
Also, one very minor suggestion (if it's easy) would be to reset the traceplot layout panel after use. For example, right now if I run
then decide to just look at one parameter in more detail and run
traceplot(stanfit, pars = 'beta')
it plots beta up in the top and leaves blank space for all the other plots. It's easy for me to reset it by running
after the first traceplot, but I just thought this was unnecessary if it could be automatically reset after running the traceplot function. Anyway, this is not a priority by any means and might not be preferable for all users. I just thought I'd make the suggestion since I noticed it.
Thanks again for all your work on this great package and program and also for all your help getting me started with it.
Dan