README.md

riverdist

CRAN_Status_Badge Travis-CI Build Status

River Network Distance Computation and Applications

The 'riverdist' package is intended as a free and readily-available resource for distance calculation along a river network. This package was written with fisheries research in mind, but could be applied to other fields. The 'riverdist' package builds upon the functionality of the 'sp' and 'rgdal' packages, which provide the utility of reading GIS shapefiles into the R environment. What 'riverdist' adds is the ability to treat a linear feature as a connected network, and to calculate travel routes and travel distances along that network.

Commonly-used functions

Several automated analyses are built in. In most cases, there is a direction or directional distance equivalent.

Summaries and plots are also available at the dataset level, in addition to individuals, which is likely to be much more useful to analysis.

Installation

Version 0.15.0 of the 'riverdist' package is available on CRAN.

The development version is currently available on Github, and can be installed in R with the following code:

install.packages("devtools",dependencies=T)

devtools::install_github("mbtyers/riverdist")

Issues

A major dependency of the 'riverdist' package is the 'rgdal' package, which allows importing shapefiles. For installation on a non-windows machine, please refer to the SystemRequirements given at https://cran.r-project.org/web/packages/rgdal/index.html



Try the riverdist package in your browser

Any scripts or data that you put into this service are public.

riverdist documentation built on July 8, 2020, 7:25 p.m.