View source: R/substituteValues.R
substituteValues | R Documentation |
Function to substitute final values for original values in a vector.
substituteValues(v, orig, finl)
v |
|
orig |
|
finl |
|
original and final values are matched by position in the respective areas (i.e.
finl[j] is substituted for orig[j] in v wherever orig[j] occurs). Values in v
that
are not in orig
are not changed in the result.
a vector of the same length as v with the substituted values replacing the original values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.