powered by
Exchanges all occurrences of NA in a vector with NaN. A warning is issued when NAs or NaNs are found.
NA2NaN(k)
numerical vector possibly containig NAs.
Returns a vector where possible NAs have been changed to NaNs.
dLiland, Liland, Liland.test, simLiland
dLiland
Liland
Liland.test
simLiland
# NOT RUN { NA2NaN( c(0, 1, NA, NaN)) NA2NaN( c(0, 1, 2, NaN)) NA2NaN( c(0, 1, NA, 100)) NA2NaN( c(0, 1, 2, 100)) # }
Run the code above in your browser using DataLab