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


srmatth/mshap documentation built on Jan. 2, 2022, 4:11 p.m.