conditional_change: Conditionally change a string

View source: R/cleaning.R

conditional_changeR Documentation

Conditionally change a string

Description

Conditionally change a string

Usage

conditional_change(x, from, to)

Arguments

x

A character vector

from

A character vector of words to change from

to

A string to change to

Value

A string


crandep documentation built on April 4, 2025, 2 a.m.