Groups of consecutive rows are identified, where each row in the group has a certain property.
blk.findConsecutive(id, ind, min.consec = 2)
A logical vector in
An integer specifying the minumum size of a group.
This function operates on data sets in
Some rows have a certain property as indicated by
function identifies groups of rows that all possess the property,
are consecutive and have a minimum size
min.consec. All such
groups of rows identified are assigned a unique integer ID. All
remaining rows are given the value 0.
An integer vector in
block-format with respect to
containing a unique group ID for rows belonging to identified groups, and 0 otherwise.
Ben Rich <firstname.lastname@example.org>
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.