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

Function runit_pbeta

inst/tinytest/cpp/rmath.cpp:136–139  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

134
135// [[Rcpp::export]]
136NumericVector runit_pbeta( double x, double a, double b ){
137 return NumericVector::create(R::pbeta(x, a, b, 1, 0), R::pbeta(log(x), a, b, 1, 1),
138 R::pbeta(x, a, b, 0, 0), R::pbeta(log(x), a, b, 0, 1));
139}
140
141// [[Rcpp::export]]
142NumericVector runit_qbeta( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

pbetaFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected