Learn R Programming

crandep (version 0.3.11)

conditional_change: Conditionally change a string

Description

Conditionally change a string

Usage

conditional_change(x, from, to)

Value

A string

Arguments

x

A character vector

from

A character vector of words to change from

to

A string to change to