[[Rcpp::export]]
| 32 | |
| 33 | // [[Rcpp::export]] |
| 34 | List runit_dbinom( IntegerVector xx ){ |
| 35 | return List::create( |
| 36 | _["false"] = dbinom( xx, 10, .5), |
| 37 | _["true"] = dbinom( xx, 10, .5, true ) |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | // [[Rcpp::export]] |
| 42 | List runit_dunif( NumericVector xx){ |