R/grepvec.R

Defines functions grepvec

Documented in grepvec

## File Name: grepvec.R
## File Version: 0.01

grepvec <- function( pattern.vec, x, operator="AND", value=FALSE)
{
    z <- grep.vec( pattern.vec=pattern.vec, x=x, operator=operator)
    if (value){
        z <- z$x
    } else {
        z <- z$index.x
    }
    return(z)
}

Try the miceadds package in your browser

Any scripts or data that you put into this service are public.

miceadds documentation built on July 7, 2018, 1 a.m.