Replace Values in a Vector

Usage

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.


[Package Contents]