last_in_each_group: Build the indexes of last indexes for each group

Description Usage Arguments Value Examples

Description

Build the indexes of last indexes for each group

Usage

1
last_in_each_group(first_indices)

Arguments

first_indices

first index of each item (in order).

Value

vector of last indices

Examples

1
2
fi <- c(1, 1, 3, 3, 3)
last_in_each_group(fi)

WinVector/FastBaseR documentation built on May 21, 2019, 4:04 a.m.