Using bayesplot with cmdstan output

I normally use the rstan interface from R, but sometimes it is convenient to run the model just calling cmdstan on a server.

When I transfer the output (*.csv files) to my laptop, I would liked to load and visualize the output using R, in particular the bayesplot package. Is this somehow possible? How can I load the CSV files from cmdstan in a format that this package would recognize?

Están has the ‘read_stan_csv’ command, then you’re working with a regular rstan object.

2 Likes

That was my phone being creative, ‘rstan’ in two places there…

2 Likes