[
top
|
up
]
Replace Values in a Vector
Syntax
replace(x, list, values)
Description
replace
replaces the values in
x
with indexes given in
list
by those given in
values
. If necessary, the values in
values
are recycled.