This function lets the user replace all specific values in a vector or data.frame into another value. If replacing more than one value, order matters so they will be replaced in the same order that you pass them to the function.
replaceall(df, original, change, quiet = TRUE)
Data.frame or Vector
String or Vector. Original text you wish to replace
String or Vector. Values you wish to replace the originals with
Boolean. Keep quiet? (or print replacements)
Other Data Wrangling: balance_data
,
calibrate
, categ_reducer
,
cleanText
, date_feats
,
dateformat
, formatNum
,
formatTime
, holidays
,
impute
, left
,
normalize
, numericalonly
,
ohse
,
one_hot_encoding_commas
,
rbind_full
, removenacols
,
removenarows
, right
,
textFeats
, textTokenizer
,
vector2text
, year_month
,
year_week
Other Text Mining: cleanText
,
sentimentBreakdown
,
textCloud
, textFeats
,
textTokenizer