grepMultipleEntries {rrMisc} | R Documentation |
Subset a data.frame wich multiple entries in one or more columns.
grepMultipleEntries(d.frame, var, ...)
d.frame |
data.frame |
var |
variable(s) to search for duplicates |
... |
Arguments passed to further functions |
The multiple entries are found with duplicated() and the whole records of these entries are returned.
Subset of data.frame for which selection conditions are met
under continuous developement
Roland Rapold
none
grepColEntries
grepColNames
grepColNA
grepObjNames
grepNotCompleteEntries
grepRowNames
grepColNegNum
grepColFactors
if(require("MASS")) { data(crabs, package="MASS") # # - with one column print(head(grepMultipleEntries(crabs, "FL"), n=10)) # # - with two columns print(head(grepMultipleEntries(crabs, c("sex", "FL")))) }