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

Function integer_erase_range

inst/tinytest/cpp/Vector.cpp:218–222  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

216
217// [[Rcpp::export]]
218List integer_erase_range( IntegerVector x, IntegerVector y ){
219 x.erase(x.begin()+5, x.end()-1 );
220 y.erase(y.begin()+5, y.end()-1 );
221 return List::create( x, y ) ;
222}
223
224// [[Rcpp::export]]
225List integer_erase_range_2( IntegerVector x, IntegerVector y ){

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected