clearValues: Clear values

Description Usage Arguments Value See Also Examples

View source: R/clearValues.R

Description

Clear cell values of a Raster* object from memory

Usage

1

Arguments

x

Raster* object

Value

a Raster* object

See Also

values, replacement

Examples

1
2
3
4
 
r <- raster(ncol=10, nrow=10)
r[] <- 1:ncell(r)
r <- clearValues(r)

raster documentation built on Nov. 17, 2017, 5:51 a.m.