get_dup_run_inds: Get indices of starts and ends of runs of duplicate values

View source: R/utils.R

get_dup_run_indsR Documentation

Get indices of starts and ends of runs of duplicate values

Description

Get indices of starts and ends of runs of duplicate values

Usage

get_dup_run_inds(dups)

Arguments

dups

a boolean vector that would result from calling duplicated_tol(..., incl_first = FALSE)

Value

named list with entries starts giving indices of the first element in each sequence of runs of duplicate values and ends giving indices of the last element in each sequence of runs of duplicate values.


distfromq documentation built on Sept. 14, 2024, 1:07 a.m.