clearValues: Clear values

View source: R/clearValues.R

clearValuesR Documentation

Clear values

Description

Clear cell values of a Raster* object from memory

Usage

clearValues(x)

Arguments

x

Raster* object

Value

a Raster* object

See Also

values, replacement

Examples

 
r <- raster(ncol=10, nrow=10)
values(r) <- 1:ncell(r)
r <- clearValues(r)

rspatial/raster documentation built on Oct. 12, 2024, 10:49 a.m.