rleseq.Rd
returns unique id within each unique element of a vector or set of provided vectors and also a running id within each unique element
returns unique id within each unique element of a vector or set of provided vectors and also a running id within each unique element
rleseq(
...,
clump = TRUE,
recurs = FALSE,
na.clump = TRUE,
na.ignore = FALSE,
sep = paste0(" ", rand.string(length = 6), " "),
use.data.table = TRUE
)
rleseq(
...,
clump = TRUE,
recurs = FALSE,
na.clump = TRUE,
na.ignore = FALSE,
sep = paste0(" ", rand.string(length = 6), " "),
use.data.table = TRUE
)
Vector(s) to identify with unique id and a running id within each unique id
a logical specifying if duplicates are to be counted together
a logical that is meant to only be set by the function when using clump = TRUE
a list of idx and seq
a list of idx and seq