inst/stan/CompileStan.R

library( rstan )

tr <- stanc( file = "inst\\stan\\MixtureModel.stan",
             model_name = "MixtureModel" )
sm <- stan_model( stanc_ret = tr, verbose = FALSE )
save( sm, file = "inst\\stan\\MixtureModel.bin" )
USGS-R/GcClust documentation built on April 17, 2023, 8:08 p.m.