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

Function runit_qbinom

inst/tinytest/cpp/rmath.cpp:327–330  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

325
326// [[Rcpp::export]]
327NumericVector runit_qbinom( double x, double a, double b ){
328 return NumericVector::create(R::qbinom(x, a, b, 1, 0), R::qbinom(log(x), a, b, 1, 1),
329 R::qbinom(x, a, b, 0, 0), R::qbinom(log(x), a, b, 0, 1));
330}
331
332// [[Rcpp::export]]
333NumericVector runit_rbinom(double a, double b) {

Callers

nothing calls this directly

Calls 2

qbinomFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected