Learn R Programming

lares (version 4.4)

replaceall: Replace Values With

Description

This function lets the user replace all specific values in a vector or data.frame into another value.

Usage

replaceall(df, original, change)

Arguments

df

Data.frame

original

String. Original text you wish to replace

change

String. Values you wish to replace the originals with