powered by
Replaced by Empty
Replace0(data, from)
can be number, strings, verctors, dataframe or matrix.
replaced stings
replaced data
# NOT RUN { Replace0(data = 232,from = 2) Replace0(data = c(232,'a4b'),from = c(2,'.*4')) df = data.frame( a = c(232, 452), b = c("nba", "cba") ) Replace0(data = df, from = c(2,'a')) # }
Run the code above in your browser using DataLab