replmiss.Rd
Function to replace missing (NA
) values in a vector.
replmiss(x, y, data)
vector that may include one or more missing values.
either a scalar or a vector of the same length as x
with the value(s) to replace missing values with.
optional data frame containing the variables given to the arguments above.
Vector x
with the missing values replaced based on the scalar or vector y
.