Example Models - PrinceWangR/rstan GitHub Wiki
The easiest way to execute an example is via the stan_demo()
function, such as
dogs <- stan_demo("dogs")
dogs
If stan_demo()
is called without any arguments, then a text menu will pop up listing the (more than 100) examples that can be run (although a handful do not work at any particular time)