Skip to contents

Include / exclude elements from vector by patterns

Usage

hsNameFilter(x, posPtrn = NULL, negPtrn = NULL)

Arguments

x

vector of character

posPtrn

pattern matching elements to be included

negPtrn

pattern matching elements to be excluded

Value

elements of x matching posPtrn and not matching negPtrn