reproduce.track.3d {eRTG3D} | R Documentation |
Reproduce a track with the eRTG3D
Description
Simulates n tracks with the geometrical properties of the original track, between the same start and end point.
Usage
reproduce.track.3d(
track,
n.sim = 1,
parallel = FALSE,
error = TRUE,
DEM = NULL,
BG = NULL,
filterDeadEnds = TRUE,
plot2d = FALSE,
plot3d = FALSE,
maxBin = 25,
gradientDensity = TRUE
)
Arguments
track |
data.frame with x,y,z coordinates of the original track |
n.sim |
number of simulations that should be done |
parallel |
logical: run computations in parallel (n-1 cores)? Or numeric: the number of nodes (maximum: n - 1 cores) |
error |
logical: add error term to movement in simulation? |
DEM |
a raster containing a digital elevation model, covering the same extent as the track |
BG |
a raster influencing the probabilities. |
filterDeadEnds |
logical: Remove tracks that ended in a dead end? |
plot2d |
logical: plot tracks on 2-D plane? |
plot3d |
logical: plot tracks in 3-D? |
maxBin |
numeric scalar, maximum number of bins per dimension of the tld-cube (turnLiftStepHist) |
gradientDensity |
logical: Should a distribution of the gradient angle be extracted and used in the simulations (get.densities.3d)? |
Value
A list or data.frame containing the simulated track(s) (CERW).
Examples
reproduce.track.3d(niclas[1:10, ])