raster: Extract raster topology from DBBMM or dynBGB

Description Usage Arguments Details Value Author(s) Examples

Description

Extracts the RasterLayer topology from a DBBMM, DBBMMStack and dynBGB object.

Usage

1
2
3
4
  ## S4 method for signature 'DBBMM'
raster(x)
  ## S4 method for signature 'DBBMMStack'
raster(x)

Arguments

x

a DBBMM, DBBMMStack or dynBGB object

Details

This function extracts the raster topology (i.e. without values) of the input object. DBBMM, DBBMMStack and dynBGB objects can be directly used in most raster functions but in case a raster with values needs to be extracted as(x,'RasterLayer') can be used.

Value

An object from class RasterLayer is returned.

Author(s)

Marco Smolla & Anne Scharf

Examples

1
2
3
4
data(leroydbbmm)
data(dbbmmstack)
raster(leroydbbmm) #returns the raster topology of a DBBMM object
raster(dbbmmstack) # returns the raster topology of a DBBMMStack object

move documentation built on Aug. 24, 2017, 1:04 a.m.