modelBuilder function

Generate compiled Stan object to facilitate the analysis