Learn R Programming

PTXQC (version 1.1.2)

grepv: Grep with values returned instead of indices.

Description

The parameter 'value' should not be passed to this function since it is passed internally already.

Usage

grepv(reg, data, ...)

Value

values of data which matched the regex

Arguments

reg

regex param

data

container

...

other params forwarded to grep()

Examples

Run this code
  grepv("x", c("abc", "xyz"))
  ## --> "xyz"
  

Run the code above in your browser using DataLab