Replace missing values (NA) in a vector or dataframe.
NAer(x, replace = 0)
A vector or dataframe with missing values (NA).
The value to replace missing values (NA) with.
Returns a vector or dataframe with missing values replaced.
## Not run:
(x <- sample(c(rep(NA, 4), 1:10), 20, rep=T))
(y <- data.frame(matrix(x, 5, 4)) )
## End(Not run)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.