rle_seq: Create a sequence from the start to the end for a given value...

View source: R/utils_vectors.R

rle_seqR Documentation

Create a sequence from the start to the end for a given value from an rle_df for indexing

Description

Create a sequence from the start to the end for a given value from an rle_df for indexing

Usage

rle_seq(rle_df, value)

Arguments

rle_df

(tbl) See rle_df

value

(any) Value to filter for in the values column. Require the values in the value column to be unique.

Value

(dbl)

See Also

Other vectors: len_unique(), names_values_switch(), rle_df(), rle_groups(), sort_by_names(), true_names(), unify_vec_preserve_order(), unique_with_names(), vlookup(), vlookup_from_ref(), zchar_remove()

Examples

rle_seq(rle_df(rep(letters[1:3], each = 3)), "c")

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.