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 Sept. 11, 2024, 8:01 p.m.