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

Function runit_pnchisq

inst/tinytest/cpp/rmath.cpp:236–239  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

234
235// [[Rcpp::export]]
236NumericVector runit_pnchisq( double x, double a, double b ){
237 return NumericVector::create(R::pnchisq(x, a, b, 1, 0), R::pnchisq(log(x), a, b, 1, 1),
238 R::pnchisq(x, a, b, 0, 0), R::pnchisq(log(x), a, b, 0, 1));
239}
240
241// [[Rcpp::export]]
242NumericVector runit_qnchisq( double x, double a, double b ){

Callers

nothing calls this directly

Calls 2

pnchisqFunction · 0.85
logFunction · 0.50

Tested by

no test coverage detected