steve-the-bayesian / BOOM

A C++ library for Bayesian modeling, mainly through Markov chain Monte Carlo, but with a few other methods supported. BOOM = "Bayesian Object Oriented Modeling". It is also the sound your computer makes when it crashes.
GNU Lesser General Public License v2.1
36 stars 15 forks source link

Need a SetRegressionPrior function in RInterface #28

Open steve-the-bayesian opened 5 years ago

steve-the-bayesian commented 5 years ago

This will take over much of what BoomSpikeSlab does, but this functionality is needed across packages.

void SetRegressionPrior(RegressionModel *model, SEXP r_prior) { if(Rf_inherits(r_prior, "thing1")) { do_thing_1(); } else if(...) { } }