This function will substitute expr with pairs of values in the dot arguments. The length of dot arguments must be a even number.

subs(expr, ...)

Arguments

expr A Basic S4 object. Pairs of Basic objects or values can be converted to Basic. In the order of "from1, to1, from2, to2, ...".

Value

Same type as expr.