Re: [Rd] Rcpp too good to be true?

2011-12-13 Thread Jeffrey Pollock
nswer :) Cheers, Jeff On Wed, Dec 14, 2011 at 12:52 AM, Martin Morgan wrote: > On 12/13/2011 03:48 PM, Jeffrey Pollock wrote: > >> Hello all, >> >> I've been working on a package to do various things related to the >> Conway-Maxwell-Poisson distribution and wanted to b

[Rd] Rcpp too good to be true?

2011-12-13 Thread Jeffrey Pollock
Hello all, I've been working on a package to do various things related to the Conway-Maxwell-Poisson distribution and wanted to be able to make fast random draws from the distribution. My R code was running quite slow so I decided to give Rcpp a bash. I had used it before but only for extremely ba