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

Function runit_pmax_one

inst/tinytest/cpp/sugar.cpp:338–343  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

336
337// [[Rcpp::export]]
338List runit_pmax_one( NumericVector xx ){
339 return List::create(
340 pmax( xx, 5),
341 pmax( 5, xx)
342 ) ;
343}
344
345// [[Rcpp::export]]
346NumericVector runit_Range(){

Callers

nothing calls this directly

Calls 1

pmaxFunction · 0.85

Tested by

no test coverage detected