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

Function runit_pbinom

inst/tinytest/cpp/stats.cpp:100–107  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

98
99// [[Rcpp::export]]
100List runit_pbinom( NumericVector xx, int n, double p){
101 return List::create(
102 _["lowerNoLog"] = pbinom(xx, n, p ),
103 _["lowerLog"] = pbinom(xx, n, p, true, true ),
104 _["upperNoLog"] = pbinom(xx, n, p, false ),
105 _["upperLog"] = pbinom(xx, n, p, false, true )
106 );
107}
108
109// [[Rcpp::export]]
110List runit_pcauchy( NumericVector xx, double loc, double scl){

Callers

nothing calls this directly

Calls 1

pbinomFunction · 0.85

Tested by

no test coverage detected