Select multiple columns

selectIf(object, predicate, ...)

Arguments

object

Object.

predicate

function. A predicate function to be applied to the columns. For example, is.atomic().

...

Additional arguments.

Value

Modified object.

See also

These functions are inspired by dplyr. However, they are designed to only work on Bioconductor S4 class objects, and use base R code internally.

Examples

class(selectIf)
#> [1] "nonstandardGenericFunction" #> attr(,"package") #> [1] "methods"