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

Function runit_pbinom

inst/tinytest/cpp/rmath.cpp:321–324  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

319
320// [[Rcpp::export]]
321NumericVector runit_pbinom( double x, double a, double b ){
322 return NumericVector::create(R::pbinom(x, a, b, 1, 0), R::pbinom(log(x), a, b, 1, 1),
323 R::pbinom(x, a, b, 0, 0), R::pbinom(log(x), a, b, 0, 1));
324}
325
326// [[Rcpp::export]]
327NumericVector runit_qbinom( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

pbinomFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected