Shinystan output

hello everyone,
I have fitted a user-defined probability distribution in Stan using rstan, How to download and save with good graphics from the output of Shinystan webapp or plz provide me the rstan code so that I can plot like as Shinystan.
thank you

Hi,
I don’t think there is a direct way to store the plots, but all of the plots in Shinystan are very direct calls to various plots exposed in the bayesplot package.

Hope you can get it running!

Thank you so much, Martin.

Hey @Laxmi_Pd_Sapkota In version 3.0 there is a way to manipulate and extract the plots directly, also an r-object that contains them. You can use the following to install:

if (!require("devtools")) {
  install.packages("devtools")
}
devtools::install_github("stan-dev/shinystan", ref = "v3-alpha", build_vignettes = TRUE)
2 Likes

thank you so much, Mr Duco Veen

woo!! It’s amazing, working very nicely, what I expected but a little bit slower than the previous version another good thing it is opened in Rstudio as well.

Thank you so much, Mr. Duco Veen

1 Like