tests/rstan.R

#Sys.setenv("R_TESTS" = "")
#library(rstan)
#stancode <- 'data {real y_mean;} parameters {real y;} model {y ~ normal(y_mean,1);}'
#mod <- stan_model(model_code = stancode, verbose = TRUE)
#fit <- sampling(mod, data = list(y_mean = 0))
  

Try the StanHeaders package in your browser

Any scripts or data that you put into this service are public.

StanHeaders documentation built on Sept. 8, 2023, 5:54 p.m.