select: Select multiple columns

selectIfR Documentation

Select multiple columns

Description

Select multiple columns

Usage

selectIf(object, predicate, ...)

## S4 method for signature 'DFrame,function'
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.

Note

Updated 2019-08-26.

See Also

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")`

Examples

data(iris, package = "datasets")

## DFrame ====
x <- as(iris, "DFrame")
selectIf(x, predicate = is.factor)

acidgenomics/r-acidplyr documentation built on July 4, 2025, 5:55 a.m.