Set specified values in an object to NA
Sets all specified values in an object to NA.
toNA(x,values=NA)
x |
A vector, matrix or data frame (max 2D). |
values |
One or more values that are to be set to NA. |
toNA sets all entries in an object in values to NA. Useful for converting various missing value samps to NA.
The object with NAs replacing all specified values.
Jim Lemon
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.