Takes in a vector and a value, and returns the vector with missing values imputed with that value
a vector with missing values
the value to be used for imputation
imputemiss imputes the missing (NA) values in the vector with a specified value.
The function simplifies the code for imputation.
vector of the same class as input vector with imputed missing values
1 2 3 4 5