Rbinom (rbinomint)
By tholscla on Sat, 11/02/2013 - 10:52
Wraps R.rbinom for correct input and output
double rbinomint(int a, int b, double c)
{ Rcpp::NumericVector x = rbinom(a,b,c);
return x(0);
}