I am interested in using shinystan and related visualization tools for MCMC chains generated from custom code (i.e., not from a standard MCMC DSL).
Given that shinystan seems to support multiple backends, I suspect this is possible. Are there any complete examples of how to do this? Is there a simple text-based file format that we could generate which would make this especially easy to do?
Hi,
I think you would need to transform the CSV manually into an mcmc.list object or other format supported by ShinyStan - see http://mc-stan.org/shinystan/articles/shinystan-package.html (which should be relatively straightforward, as all the information you need is already in your CSV)
If you have an mcmc.list object called my_mcmc then you can use the as.shinystan function to convert my_mcmc into a shinystan object that can then be used with launch_shinystan :