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

Function runit_pbeta

inst/tinytest/cpp/stats.cpp:90–97  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

88
89// [[Rcpp::export]]
90List runit_pbeta( NumericVector xx, double aa, double bb ){
91 return List::create(
92 _["lowerNoLog"] = pbeta( xx, aa, bb),
93 _["lowerLog"] = pbeta( xx, aa, bb, true, true),
94 _["upperNoLog"] = pbeta( xx, aa, bb, false),
95 _["upperLog"] = pbeta( xx, aa, bb, false, true)
96 );
97}
98
99// [[Rcpp::export]]
100List runit_pbinom( NumericVector xx, int n, double p){

Callers

nothing calls this directly

Calls 1

pbetaFunction · 0.85

Tested by

no test coverage detected