simIteration: Commands for a single iteration

Description Usage Arguments Value Note Author(s)

Description

Optional utility function for a single iteration: computes surface disturbance, road disturbance, and soil loss.

Usage

1
2
3
simIteration(X, simDistList, rasterSurfaceInputs, roads = NULL,
  soilLoss = NULL, totalLength = TRUE, roadWidth = NULL,
  cellProportion = NULL)

Arguments

X

Integer specifying iteration index in simDistList

simDistList

The list returned by prepareSimDistributions

rasterSurfaceInputs

Optional. List containing all surface rasters prepared using prepareChangeShape or prepareChangeRaster

roads

Optional matrix or vector. If vector is provided, road length is calculated by drawing a road length for each simulated pad from the provided vector of values. If matrix is provided, road length is calculated using distance between simulated pad and existing road network. The matrix format should be two column matrix with easting, northing vertices of known road network.

soilLoss

Optional. The list returned by prepareRusle

totalLength

Optional. Argument passed to makeRoads. TRUE or FALSE boolean for returning total road length. For use with placeRoads, leave as default value of TRUE.

roadWidth

Optional. Argument passed to placeRoads.

cellProportion

Optional. Argument passed to placeRoads.

Value

List for each iteration containing a outputs for each of the three inputs.

Note

Edited by CDMartinez 23 Feb 17

Author(s)

Created by CDMartinez 15 February 17


madorning/energySim0.1.0 documentation built on May 22, 2019, 2:23 p.m.