MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / runit_rhyper

Function runit_rhyper

inst/tinytest/cpp/rmath.cpp:465–471  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

463
464// [[Rcpp::export]]
465NumericVector runit_rhyper(double a, double b, double c) {
466 NumericVector o(5);
467 for(int i = 0; i < o.size(); i++) {
468 o[i] = R::rhyper(a, b, c);
469 }
470 return o;
471}
472
473// [[Rcpp::export]]
474NumericVector runit_rhyper_sugar(double a, double b, double c) {

Callers

nothing calls this directly

Calls 2

rhyperFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected