Export stanfit object from Matlab to R

Hi,

I wonder if some of you have try exporting your results to R from Matlab (stanfit object) and then use ShinyStan?

Thank you!
Elsa

I think you have to somehow export the results in Matlab to a CSV file, use rstan::read_stan_csv to import it into R, and then pass it to launch_shinystan.

1 Like

MatlabStan uses CmdStan and csv files produced by CmdStan are left in the directory. I just tested, and following the example in help of rstan::read_stan_csv, I was able to read those files and get them in ShinyStan! It was really easy!