Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork271
Example Models
bgoodri edited this pageNov 10, 2018 ·3 revisions
The easiest way to execute an example is via thestan_demo() function, such as
library(rstan)options(mc.cores=parallel::detectCores())rstan_options(auto_write=TRUE)dogs<- stan_demo("dogs")dogs
Ifstan_demo() is called without any arguments, then a text menu will pop up listing the (more than 500) examples that can be run (although a handful do not work at any particular time)