Description Usage Arguments Value
sub_value
finds exact matches within x
specified by
from
and substitutes them with values specified in to
. Values
specified by from
will be replaced in a 1:1 or many:1 fashion. Only
values within from
that are contained in x
will be replaced.
1 | sub_value(x, from, to)
|
x |
A vector of values, some (or all) of which are equivalent to values
in |
from |
A vector of values potentially contained within |
to |
The corresponding value (or values) that |
A new vector, derived from x
, with 0 or more values
substituted for new ones
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.