\Header{replace}{Replace Values in a Vector}
\keyword{manip}{replace}
\begin{Usage}
\begin{verbatim}
replace(x, list, values)
\end{verbatim}
\end{Usage}
\begin{Description}
\texttt{replace} replaces the values in \texttt{x}
with indexes given in \texttt{list} by those given in \texttt{values}.
If necessary, the values in \texttt{values} are recycled.\end{Description}

