replace_by | R Documentation |
Replace elements by other values
replace_by(target, from, to, other = NULL)
target |
target vector, matrix or other types |
from |
the element values which should be replaced |
to |
the values which should be set for the replaced elements |
other |
if it is not NULL value, the target elements which is not hit to any of from values are replaced by other. |
replaced results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.