clearValues | R Documentation |
Clear cell values of a Raster* object from memory
clearValues(x)
x |
Raster* object |
a Raster* object
values
, replacement
r <- raster(ncol=10, nrow=10)
values(r) <- 1:ncell(r)
r <- clearValues(r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.