where: Select variables with a function

Description Usage Arguments Value

View source: R/helpers-where.R

Description

This selection helper selects the variables for which a function returns TRUE.

Usage

1
where(fn)

Arguments

fn

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

Value

A selection of columns


mshap documentation built on June 17, 2021, 9:07 a.m.