get_run_index_list: Get index list of successive runs in a vector.

Description Usage Arguments Value

View source: R/internal.R

Description

Get index list of successive runs in a vector.

Usage

1

Arguments

x

A vector.

Value

List of integer vectors, each containing indices for a run of repeated values in x. Each list element takes its name from the corresponding repeated value. Returns an empty list if x is of length zero.


gact/utl documentation built on June 1, 2021, 4:24 p.m.