View source: R/replaceInvalids.R
replaceInvalids | R Documentation |
This function replaces invalid fields (NA, NAN, and NULL) in a data.frame and data.table. These fields can lead to erroneous attribute tables in desktop GIS software.
replaceInvalids(x, replace.value = -9999)
x |
input data.frame or data.table |
replace.value |
value that is used instead of NA, NAN, or NULL. Default: -9999 |
see Fastest way to replace NAs in a large data.table (last call: 13-04-2017)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.