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

Function runit_tail

inst/tinytest/cpp/sugar.cpp:523–528  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

521
522// [[Rcpp::export]]
523List runit_tail( NumericVector xx ){
524 return List::create(
525 _["pos"] = tail( xx, 5 ),
526 _["neg"] = tail( xx, -5 )
527 ) ;
528}
529
530// [[Rcpp::export]]
531List runit_diag( NumericVector xx, NumericMatrix mm ){

Callers

nothing calls this directly

Calls 1

tailFunction · 0.85

Tested by

no test coverage detected