grepObjNames: Find objects whose names contain search string

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/extract.R

Description

The function grepObjNames() gets the objects whose names contain the specified search string.

Usage

1
grepObjNames(part.name, ...)

Arguments

part.name

search string in object names

...

Arguments passed to further functions

Details

Unlike subset which works with '==' or '%in%', here search is performed in a fashion of 'like', meaning substrings are recognized.

Value

column names which values contain NAs or indication about NAs

Note

under continuous developement

Author(s)

Roland Rapold

References

none

See Also

grepColEntries grepColNames grepColNA grepNotCompleteEntries grepMultipleEntries grepRowNames grepColNegNum grepColFactors

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
    a  <- 1
    aa <- 1
    b  <- 1
    ab <- 1
    A  <- 1
    Aa <- 1
    b  <- 1
    print(grepObjNames("a"))
    print(grepObjNames("A"))
    print(grepObjNames("b"))

rrMisc documentation built on June 25, 2021, 3 a.m.