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

Function runit_dnbinom

inst/tinytest/cpp/rmath.cpp:481–483  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

479
480// [[Rcpp::export]]
481NumericVector runit_dnbinom( double x, double a, double b ){
482 return NumericVector::create(R::dnbinom(x, a, b, 0), R::dnbinom(x, a, b, 1));
483}
484
485// [[Rcpp::export]]
486NumericVector runit_pnbinom( double x, double a, double b ){

Callers

nothing calls this directly

Calls 1

dnbinomFunction · 0.85

Tested by

no test coverage detected