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)
values(r) <- 1:ncell(r)
r <- clearValues(r)

raster documentation built on Jan. 5, 2021, 3:01 a.m.