replaceMethod: Replaces patterns on a given vector

Description Usage Arguments Value See Also

Description

replaceMethod will replace patterns (names in replacementList) in a vector of methods.

Usage

1
replaceMethod(replacementList, method, replacement)

Arguments

replacementList

List with pattern as names and respective positions generated by grepPosition

method

character vector of methods from dataMatchColumns.csv (i.e. dataMatchColumns.csv[["method"]])

replacement

Replacement string (i.e. new method code)

Value

modified method vector

See Also

changeMethodCode and grepPosition


dfalster/dataMashR documentation built on May 15, 2019, 5:11 a.m.