Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

filter_overlap

Filter overlaps from matches


Description

Helper function used to identify which results from gregexpr overlap other matches and filter out shorter, overlapped results

Usage

filter_overlap(x)

Arguments

x

Matrix of gregexpr results, 4 columns, index of column matched, start of match, length of match, end of match. Produced exclusively from a worker function in mgsub


mgsub

Safe, Multiple, Simultaneous String Substitution

v1.7.2
MIT + file LICENSE
Authors
Mark Ewing [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.