Package: eRTG3D 0.7.0

eRTG3D: Empirically Informed Random Trajectory Generation in 3-D

Creates realistic random trajectories in a 3-D space between two given fix points, so-called conditional empirical random walks (CERWs). The trajectory generation is based on empirical distribution functions extracted from observed trajectories (training data) and thus reflects the geometrical movement characteristics of the mover. A digital elevation model (DEM), representing the Earth's surface, and a background layer of probabilities (e.g. food sources, uplift potential, waterbodies, etc.) can be used to influence the trajectories. Unterfinger M (2018). "3-D Trajectory Simulation in Movement Ecology: Conditional Empirical Random Walk". Master's thesis, University of Zurich. <https://www.geo.uzh.ch/dam/jcr:6194e41e-055c-4635-9807-53c5a54a3be7/MasterThesis_Unterfinger_2018.pdf>. Technitis G, Weibel R, Kranstauber B, Safi K (2016). "An algorithm for empirically informed random trajectory generation between two endpoints". GIScience 2016: Ninth International Conference on Geographic Information Science, 9, online. <doi:10.5167/uzh-130652>.

Authors:Merlin Unterfinger [aut, cre], Kamran Safi [ctb, ths], George Technitis [ctb, ths], Robert Weibel [ths]

eRTG3D_0.7.0.tar.gz
eRTG3D_0.7.0.zip(r-4.5)eRTG3D_0.7.0.zip(r-4.4)eRTG3D_0.7.0.zip(r-4.3)
eRTG3D_0.7.0.tgz(r-4.4-any)eRTG3D_0.7.0.tgz(r-4.3-any)
eRTG3D_0.7.0.tar.gz(r-4.5-noble)eRTG3D_0.7.0.tar.gz(r-4.4-noble)
eRTG3D_0.7.0.tgz(r-4.4-emscripten)eRTG3D_0.7.0.tgz(r-4.3-emscripten)
eRTG3D.pdf |eRTG3D.html
eRTG3D/json (API)
NEWS

# Install 'eRTG3D' in R:
install.packages('eRTG3D', repos = c('https://munterfi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/munterfi/ertg3d/issues

Datasets:
  • dem - Example digital elevation model
  • niclas - Example track data.frame

On CRAN:

3dbirdsconditional-empirical-random-walkgliding-and-soaringmachine-learningmovement-ecologyrandom-trajectory-generatorrandom-walksimulationtrajectory-generation

5.63 score 5 stars 19 scripts 195 downloads 55 exports 86 dependencies

Last updated 3 years agofrom:1165c60772. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:.check.extent.cutMidpoints.df2sf.3d.distance.2d.distance.3d.get.azimut.get.polar.is.df.xyz.matrix2sf.3d.move2sf.3d.plot3d.density.test2text.wrapchiMapsdem2track.extentdist2point.3ddist2target.3dfilter.dead.endsget.densities.3dget.glideRatio.3dget.section.densities.3dget.track.densities.3dis.sf.3dlift2target.3dlogRasterStackmovingMediann.sim.cond.3dn.sim.glidingSoaring.3dparpbapplyparpblapplyparpbsapplyplot2dplot3dplot3d.densitiesplot3d.multiplotplot3d.tldCubeplotRasterqProb.3dreproduce.track.3dsaveImageSlicessf2df.3dsim.cond.3dsim.crw.3dsim.glidingSoaring.3dsim.uncond.3dtest.eRTG.3dtest.verification.3dtrack.extenttrack.properties.3dtrack.split.3dtrack2sf.3dtransformCRS.3dturn2target.3dturnLiftStepHistvoxelCount

Dependencies:askpassbase64encbootbslibcachemCircStatsclicolorspacecpp11crosstalkcurldata.tabledeldirdigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtablehexbinhighrhtmltoolshtmlwidgetshttrinterpisobandjpegjquerylibjsonliteknitrlabelinglaterlatticelatticeExtralazyevallifecyclemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeopensslpbapplypillarpkgconfigplotlypngpromisespurrrR6rappdirsrasterrasterVisRColorBrewerRcppRcppEigenrlangrmarkdownsassscalesspstringistringrsysterratibbletidyrtidyselecttifftinytexutf8vctrsviridisLitewithrxfunyamlzoo

Coordinate reference system

Rendered fromv6.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-08-19
Started: 2019-06-10

Example data

Rendered fromv1.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2021-10-02
Started: 2019-06-10

Linkage to the sf package

Rendered fromv7.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-08-19
Started: 2019-06-10

Parallel computation

Rendered fromv5.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Point cloud analysis

Rendered fromv9.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Standard workflow

Rendered fromv2.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Trajectory simulations in 2-D

Rendered fromv8.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Verification of results

Rendered fromv4.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Visualization of trajectories

Rendered fromv3.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2020-07-26
Started: 2019-06-10

Readme and manuals

Help Manual

Help pageTopics
Chi maps of two variableschiMaps
Example digital elevation model (DEM)dem
Crops the DEM to the extent of the track with a bufferdem2track.extent
Distance of each track point to a given pointdist2point.3d
Distance to targetdist2target.3d
eRTG3D: Empirically Informed Random Trajectory Generator in 3-DeRTG3D
Remove dead endsfilter.dead.ends
Extract tldCube and autodifference approximation functionsget.densities.3d
Calculate glide ratioget.glideRatio.3d
Extract tldCube and autodifferences functions from track sectionsget.section.densities.3d
Extract tldCube and autodifferences functions from a consistent trackget.track.densities.3d
Tests if the object is a simple feature collection (class: ''sf, data.frame'')is.sf.3d
Lift angle to targetlift2target.3d
Converts a rasterStack to logarithmic scalelogRasterStack
Moving median in one dimensionmovingMedian
Conditional Empirical Random Walks (CERW) in 3-Dn.sim.cond.3d
Simulates multiple 'gliding & soaring' tracks with a given number of gliding stepsn.sim.glidingSoaring.3d
Example track data.frameniclas
Parallel apply with progressbarparpbapply
Parallel lapply with progressbarparpblapply
Parallel sapply with progressbarparpbsapply
Plot function to plot the 3-D tracks in 2-D planeplot2d
Plot track(s) with a surface of a digital elevation model in three dimensionsplot3d
Density plots of turn angle, lift angle and step lengthplot3d.densities
Multiple plot function for ggplot objectsplot3d.multiplot
Visualize turn-lift-step histogramplot3d.tldCube
Plots a rasterLayer or rasterStackplotRaster
Q probabilities for n stepsqProb.3d
Reproduce a track with the eRTG3Dreproduce.track.3d
Export a dataCube as image slice sequencesaveImageSlices
Converts a sf data.frame to a normal dataframesf2df.3d
Conditional Empirical Random Walk (CERW) in 3-Dsim.cond.3d
Simulation of a three dimensional Correlated Random Walksim.crw.3d
Simulates 'gliding & soaring' track with a given number of gliding stepssim.glidingSoaring.3d
Unconditional Empirical Random Walk (UERW) in 3-Dsim.uncond.3d
Test the functionality of the eRTG3Dtest.eRTG.3d
Statistical Verification of the simulated tracktest.verification.3d
Extent of track(s)track.extent
Track properties of a 3-D tracktrack.properties.3d
This function splits the by outliers in the time lag.track.split.3d
Converts a track to a ''sf, data.frame''track2sf.3d
Transform coordinates reference system (CRS) of a 3-D tracktransformCRS.3d
Turn angle to targetturn2target.3d
Three dimensional histogramturnLiftStepHist
Apply voxel counting on a point cloudvoxelCount