Revision 4408233eb8624dea85ecf18e86d50c296165c3f2 authored by Christian Thiele on 13 April 2022, 17:12:29 UTC, committed by cran-robot on 13 April 2022, 17:12:29 UTC
1 parent 2a9508b
get_rev_dups.cpp
#include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
LogicalVector get_rev_dups(NumericVector x) {
return rev(duplicated(rev(x)));
}

Computing file changes ...