[Rcpp-devel] Favourite Rcpp examples?
[ You have a bug that the old example you posted now fails as your model class now takes four arguments
yes. thanks for reminding me. I have a bunch of mcmc examples now. All using Rcpp, though probably not coded in the best Rcpp style; you may remember I'm still using this pathetic way to create the armadillo objects: "mat X(REAL(XR),::Rf_nrows(XR),::Rf_ncols(XR));". Anyway, those may prove useful to you, and hopefully in the process I can clean up the RcppArmadillo conventions I'm using. I'll try to package them up into a git repo later today. -Whit
On Wed, Apr 27, 2011 at 12:47 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
On 26 April 2011 at 20:53, Whit Armstrong wrote: | I could probably show you the Gelman - Radon example in my MCMC framework. | | Might be able to do a speed comparison w/ JAGS, but not sure if there | is sufficient time left for me to send and you to integrate the | example. | | Let me know what you think. I bite, whether or not we get it done for this week or (most likely) not. I actually did check out your cppbugs git archive. [ You have a bug that the old example you posted now fails as your model class now takes four arguments rather than three; throwing an arbitrary 1e4 for the added int argument works ] Dirk -- Gauss once played himself in a zero-sum game and won $50. ? ? ? ? ? ? ? ? ? ? ?-- #11 at http://www.gaussfacts.com