R/dbase.R

dbase <-
function (env, uniq = T) 
{
    tmp <- switch(bool(uniq) + 1, grep, pmatch)
    tmp <- tmp(env, search())
    if (any(is.na(tmp)) || is.null(tmp)) 
        cat("No pattern", dQuote(env), "could be found in the search list.\n")
    tmp
}

Try the ilc package in your browser

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

ilc documentation built on May 2, 2019, 5:07 a.m.