Skip to contents

This is a copy of where, a selection helper that selects the variables for which a predicate function returns TRUE. See language for more details about tidyselection.

Usage

where(fn)

Arguments

fn

A function that returns TRUE or FALSE (technically, a predicate function). Can also be a purrr-like formula.

Value

A predicate that can be used to select columns from a data.frame.

Details

This help file was replicated verbatim from tidyselect-package.

References

Lionel Henry and Hadley Wickham (2021). tidyselect: Select from a Set of Strings. R package version 1.1.1. https://CRAN.R-project.org/package=tidyselect

Examples

NULL
#> NULL