selectIf | R Documentation |
Select multiple columns
selectIf(object, predicate, ...)
## S4 method for signature 'DFrame,function'
selectIf(object, predicate)
object |
Object. |
predicate |
|
... |
Additional arguments. |
Modified object.
Updated 2019-08-26.
These functions are inspired by dplyr. However, they are designed to only
work on DFrame
class, and use base R code internally.
`help(topic = "select_all", package = "dplyr")`
data(iris, package = "datasets")
## DFrame ====
x <- as(iris, "DFrame")
selectIf(x, predicate = is.factor)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.