NAtoZer {muStat} | R Documentation |
Any missing values in input data will be converted to 0.
NAtoZer(x)
x |
data object |
Returns the input data object x with all missing values replaced by 0.
Knut M. Wittkowski kmw@rockefeller.edu
NAtoZer(c(2, 4, NA, 5)) # [1] 2 4 0 5