Skip to contents

sloperdcond

Usage

sloperdcond(
  topography,
  directions = 4,
  advancedloggingparameters = loggingparameters(),
  grapple = FALSE
)

Arguments

topography

Digital terrain model (DTM) of the inventoried plot (LiDAR or SRTM) (DTMParacou) (RasterLayer with a crs in UTM) We advise you to generate your raster with Qgis rather than with the 'raster' package on R.

directions

numeric (default = 4). The number of directions for movement between cells, either 4 or 8.

advancedloggingparameters

Other parameters of the logging simulator loggingparameters (list)

grapple

Use grapple in harvest. Default = FALSE (boolean)

Value

A transition layer object with weighted adjacent graph according to longitudinal / transversal slope condition

Examples

if (FALSE) { # \dontrun{
data(DTMParacou)

SlopeCond <- sloperdcond(topography = DTMParacou)
} # }