replace2: function to replace elements of vector, can use "x" as...

replace2R Documentation

function to replace elements of vector, can use "x" as surrogate variable in expression

Description

convenience function to replace without having to type excessively if the variable is arrived at through nested functions or long variable names

Usage

replace2(x, repl.expr, values)

kevinmhadi/khtools documentation built on Jan. 16, 2025, 4:18 p.m.