View source: R/spatial_tools.R
convert_raster2dt | R Documentation |
Title
convert_raster2dt(raster, na.rm = TRUE, xy = TRUE)
raster |
a raster object |
na.rm |
boolean, should cells with NA values be removed? Default is TRUE |
xy |
boolean, should x- and y- coordinates be listed (as separated columns) in the data.table? Default is TRUE |
a data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.