do (version 1.4.0.0)

Replace0: Replaced by Empty

Description

Replaced by Empty

Usage

Replace0(data, from)

Arguments

data

can be number, strings, verctors, dataframe or matrix.

from

replaced stings

Value

replaced data

Examples

Run this code
# 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 DataCamp Workspace