raster: Extract raster from DBBMM

Description Usage Arguments Details Value Author(s) Examples

Description

Extracts the RasterLayer from a DBBMM and DBBMMStack object.

Usage

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

Arguments

x

a DBBMM or DBBMMStack object

Details

The raster function extracts the raster object from a DBBMM or DBBMMStack object.

Value

An object from class RasterLayer is returned.

Author(s)

Marco Smolla

Examples

1
2
3
4
5
data(leroydbbmm)
data(dbbmmstack)
raster(leroydbbmm) #returns the raster of a DBBMM object
raster(dbbmmstack) # returns the raster of a DBBMMStack object
plot(raster2contour(leroydbbmm, levels=c(.5,.9)), col=c(5,4)) # plot the raster lines of a DBBMM

move documentation built on May 20, 2017, 2:06 a.m.

Search within the move package
Search all R packages, documentation and source code