R code, Stan model files