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

Function runit_rbeta

inst/tinytest/cpp/rmath.cpp:148–154  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

146
147// [[Rcpp::export]]
148NumericVector runit_rbeta(double a, double b) {
149 NumericVector o(5);
150 for (int i = 0; i < o.size(); i++) {
151 o[i] = R::rbeta(a, b);
152 }
153 return o;
154}
155
156// [[Rcpp::export]]
157NumericVector runit_rbeta_sugar(double a, double b) {

Callers

nothing calls this directly

Calls 2

rbetaFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected