recode_if: Recode a variable conditional on one or more other variables

View source: R/dataFunctions.R

recode_ifR Documentation

Recode a variable conditional on one or more other variables

Description

Recode a variable conditional on one or more other variables

Usage

recode_if(.x, .condition, ...)

Arguments

.x

A vector to modify

.condition

An expression of a condition

...

Replacement (see dplyr::recode)

Value

Contents of "Value"

Author(s)

Unknown

References

https://gerkelab.com/blog/2018/08/recode_if

See Also

dplyr


sgutreuter/SGmisc documentation built on Aug. 25, 2024, 7:21 p.m.