Replace x with y for a single vector

vector_replace(one_vector, x, y)

Arguments

one_vector

numeric vector

x

value to be replaced

y

replacement value

Value

numeric vector

Author

Kelly Stratton