get_info: Gives details on consecutive repeats within a vector.

Description Usage Arguments Value Author(s)

View source: R/get_info.R

Description

Gives details on consecutive repeats within a vector.

Usage

1

Arguments

col

a vector.

Value

A data frame with columns 'value', 'num_rep', 'start_index' and 'end_index':

'value' is the elements of the vector excluding any consecutive repeats,

'num_rep' is the number of times each value consecutively occurs,

'start_index' is the start index of each value within the original vector,

'end_index' is the end index of each value within the original vector.

Author(s)

Aaron Hayman


jgrevel/BAST1-R-Library documentation built on May 21, 2019, 10:11 a.m.