Description Usage Arguments Details Value Note Author(s) References See Also Examples
Subset a data.frame wich multiple entries in one or more columns.
1 | 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
1 2 3 4 5 6 7 8 9 10 | 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"))))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.