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

Function runit_pmin_one

inst/tinytest/cpp/sugar.cpp:324–329  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

322
323// [[Rcpp::export]]
324List runit_pmin_one( NumericVector xx ){
325 return List::create(
326 pmin( xx, 5),
327 pmin( 5, xx)
328 ) ;
329}
330
331// [[Rcpp::export]]
332NumericVector runit_pmax( NumericVector xx, NumericVector yy ){

Callers

nothing calls this directly

Calls 1

pminFunction · 0.85

Tested by

no test coverage detected