Package: riverdist 0.16.3

riverdist: River Network Distance Computation and Applications

Reads river network shape files and computes network distances. Also included are a variety of computation and graphical tools designed for fisheries telemetry research, such as minimum home range, kernel density estimation, and clustering analysis using empirical k-functions with a bootstrap envelope. Tools are also provided for editing the river networks, meaning there is no reliance on external software.

Authors:Matt Tyers [aut, cre]

riverdist_0.16.3.tar.gz
riverdist_0.16.3.zip(r-4.5)riverdist_0.16.3.zip(r-4.4)riverdist_0.16.3.zip(r-4.3)
riverdist_0.16.3.tgz(r-4.4-any)riverdist_0.16.3.tgz(r-4.3-any)
riverdist_0.16.3.tar.gz(r-4.5-noble)riverdist_0.16.3.tar.gz(r-4.4-noble)
riverdist_0.16.3.tgz(r-4.4-emscripten)riverdist_0.16.3.tgz(r-4.3-emscripten)
riverdist.pdf |riverdist.html
riverdist/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/mbtyers/riverdist/issues

Datasets:

On CRAN:

62 exports 23 stars 2.75 score 13 dependencies 4 mentions 92 scripts 424 downloads

Last updated 8 months agofrom:5d148220e6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 08 2024
R-4.5-winOKSep 08 2024
R-4.5-linuxOKSep 08 2024
R-4.4-winOKSep 08 2024
R-4.4-macOKSep 08 2024
R-4.3-winOKSep 08 2024
R-4.3-macOKSep 08 2024

Exports:addcumuldistaddvertsbuildlookupbuildsegroutescalculateconnectionscheckbraidedcheckbraidedTFcleanupcleanup_vertsconnectsegsdetectroutedissolvehighlightseghomerangehomerangeoverlapisflowconnectedkfuncline2networkmakeriverdensitymapbynamematbysurveylistmouthdistmouthdistbysurveypdistpdisttotplothomerangeoverlapplotmatbysurveylistplotriverdensitypointsplotseqpointshp2segvertremoveduplicatesremovemicrosegsremoveunconnectedriverdirectionriverdirectionmatriverdirectionmatbysurveyriverdirectionseqriverdirectiontofromriverdistanceriverdistancelistriverdistancematriverdistancematbysurveyriverdistanceseqriverdistancetofromriverpointsroutelistsequencevertssetmouthshowendssplitsegmentatsplitsegmentstopologydotstrimrivertrimtopointsupstreamupstreammatupstreammatbysurveyupstreamsequpstreamtofromwhoconnectedxy2segvertzoomtoseg

Dependencies:classclassIntDBIe1071KernSmoothmagrittrMASSproxyRcpps2sfunitswk

River Network Distance Computation and Applications with riverdist

Rendered fromriverdist_vignette.Rmdusingknitr::rmarkdownon Sep 08 2024.

Last update: 2023-08-02
Started: 2015-12-02

Readme and manuals

Help Manual

Help pageTopics
River Network Distance Computation and Applicationsriverdist-package riverdist
Dataset: A-B Streamsabstreams
Dataset: A-B Streams 0abstreams0
Add Cumulative Distance to a River Networkaddcumuldist
Add Vertices To Maintain a Minimum Distance Between Verticesaddverts
Build Lookup Tables for Fast Distance Computationbuildlookup
Build Segment Routesbuildsegroutes
Calculate the Connectivity Matrix for a River Networkcalculateconnections
Check for Braiding in a River Networkcheckbraided
Check for Braiding in a River NetworkcheckbraidedTF
Interactive Cleanup of a River Networkcleanup
Interactive Cleanup of the Vertices of Individual Segmentscleanup_verts
Connect Segmentsconnectsegs
Detect Routedetectroute
Dissolvedissolve
Dataset: Fakefishfakefish
Dataset: Fakefish Densityfakefish_density
Dataset: Gulkana RiverGulk
Highlight Segmentshighlightseg
Home Rangehomerange
The "homerange" Classhomerange-class
Home Range Overlaphomerangeoverlap
Check Flow-Connectednessisflowconnected
Dataset: Kenai River 1Kenai1
Dataset: Kenai River 2Kenai2
Dataset: Kenai River 3Kenai3
Plotting K-functions for a Set of Surveyskfunc
Dataset: Killey River, West ChannelKilleyW
Dataset: Koyukuk River 0Koyukuk0
Dataset: Koyukuk River 1Koyukuk1
Dataset: Koyukuk River 2Koyukuk2
Create a River Network Object from a Shapefileline2network
Dataset: Line 98 of Kenai River 1 (Long-Lat)line98
Calculate Kernel Density Using River Distancemakeriverdensity
Map Segments by Namemapbyname
Generate List of Distance Matrix Between Observations, for All Individualsmatbysurveylist
Distance From Mouthmouthdist
Distance From Mouth for All Observations of Individualsmouthdistbysurvey
Pythagorean Distancepdist
Total Pythagorean Distancepdisttot
Plot Home Rangeplot.homerange
Plot Kernel Density Using River Distanceplot.riverdensity plotriverdensity
Plotting a River Networkmapriver plot.rivernetwork
Plot Home Range Overlapplothomerangeoverlap
Plot Upstream Distance Between Observations of All Individualsplotmatbysurveylist
Plot Points Used for Kernel Densityplotriverdensitypoints
Plot Sequence of Observationsplotseq
Convert a Point Shapefile to River Locationspointshp2segvert
Remove Duplicatesremoveduplicates
Remove Segments that are Smaller than the Connectivity Toleranceremovemicrosegs
Remove Unconnected Segmentsremoveunconnected
The "riverdensity" Classriverdensity riverdensity-class
River Directionriverdirection
River Direction Matrixriverdirectionmat
River Direction Matrix of All Observations of an Individualriverdirectionmatbysurvey
River Travel Direction Between Sequential Observationsriverdirectionseq
River Direction Matrix between Two Datasetsriverdirectiontofrom
River Distanceriverdistance
Multiple River Distancesriverdistancelist
River Distance Matrixriverdistancemat
River Distance Matrix of All Observations of an Individualriverdistancematbysurvey
River Distance Between Sequential Observationsriverdistanceseq
River Distance Matrix between Two Datasetsriverdistancetofrom
The "rivernetwork" Classrivernetwork rivernetwork-class
Draw Points from River Locationsriverpoints
Detect Multiple Routesroutelist
Store Vertices in Ascending Sequencesequenceverts
Specify the Segment and Vertex of the Mouth of a River Network Object.setmouth
Identify Vertex Coordinates of Segment Endpointsshowends
Dataset: Smallsetsmallset
Split a Segment at a Specified Vertexsplitsegmentat
Split Segments by Endpoint Proximitysplitsegments
Check Connectivity of a River Network Objecttopologydots
Trim a River Network Object to Specified Segmentstrimriver
Trim a River Network to a Set of X-Y Coordinatestrimtopoints
Upstream River Distanceupstream
Upstream Distance Matrixupstreammat
Upstream Distance Matrix of All Observations of an Individualupstreammatbysurvey
Upstream Distance Between Sequential Observationsupstreamseq
Upstream Distance Matrix between Two Datasetsupstreamtofrom
Check Which Segments are Connected to a Given Segment.whoconnected
Convert XY Coordinates to River Locationsxy2segvert
Zoom to segmentzoomtoseg