Convert raster to contour lines

Description

The function converts a ud(stack) object to a SpatialLinesDataFrame.

Usage

1
2
3
4
	## S4 method for signature '.UD'
raster2contour(x, ...)
	## S4 method for signature '.UDStack'
raster2contour(x, ...)

Arguments

x

a DBBMM or DBBMMStack object, that includesa raster object

...

additional arguments that are passed on from other functions, most important being level which determines the contour level

Details

The raster2contour function creates a SpatialLinesDataFrame from a given raster or DBBMM object. This allows to re-project the contours to different projections.

Author(s)

Marco Smolla

See Also

getVolumeUD

Examples

1
2
3
4
5

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.