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

Function runit_rf

inst/tinytest/cpp/rmath.cpp:267–273  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

265
266// [[Rcpp::export]]
267NumericVector runit_rf(double a, double b) {
268 NumericVector o(5);
269 for (int i = 0; i < o.size(); i++) {
270 o[i] = R::rf(a, b);
271 }
272 return o;
273}
274
275// [[Rcpp::export]]
276NumericVector runit_rf_sugar(double a, double b) {

Callers

nothing calls this directly

Calls 2

rfFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected