[[Rcpp::export]]
| 44 | |
| 45 | // [[Rcpp::export]] |
| 46 | NumericVector runit_rnorm( double a, double b ){ |
| 47 | NumericVector o(5); |
| 48 | for (int i = 0; i < o.size(); i++) { |
| 49 | o[i] = R::rnorm(a, b); |
| 50 | } |
| 51 | return o; |
| 52 | } |
| 53 | |
| 54 | // [[Rcpp::export]] |
| 55 | NumericVector runit_rnorm_sugar(double a, double b) { |