Hi,
Does anyone know as to how I can export a stan output to an excel file. I am trying write.xlsx2 function, but it is not working. Appreciate help on this.
Thanks
Hi,
Does anyone know as to how I can export a stan output to an excel file. I am trying write.xlsx2 function, but it is not working. Appreciate help on this.
Thanks
I would call as.data.frame
on your stanfit object and then any of the functions that create Excel spreadsheets should work. Or you can do write.csv
afterward, which can be read by Excel and many better programs.
It worked. Thanks for your help.