Pre-processes data and wraps rstan to run analyses using adaptive Hamiltonian Monte Carlo. Sensible default settings are provided, but can be tweaked as necessary.
1  | run_stan_model(model, path, n_sp, ts)
 | 
model | 
 one of c("BV", "GL")  | 
... | 
 tuning parameters for Stan sampler  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.