R/seqN_by.R

Defines functions shift_by_sorted_int seqN_by

seqN_by <- function(x) {
  stopifnot(is.integer(x))
  .Call("Ccumsum_reset_sorted_int", x, PACKAGE = packageName)
}

shift_by_sorted_int <- function(x, y, z, nThread = getOption("hutilscpp.nThread", 1L)) {
  .Call("C_shift_by_sorted_int", x, y, z, nThread, PACKAGE = packageName)
}

Try the hutilscpp package in your browser

Any scripts or data that you put into this service are public.

hutilscpp documentation built on Oct. 11, 2023, 9:06 a.m.