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.

Install the latest version of this package by entering the following in R:
install.packages("riverdist")
AuthorMatt Tyers [aut, cre]
Date of publication2017-03-31 06:13:00 UTC
MaintainerMatt Tyers <matt.tyers@alaska.gov>
LicenseGPL-2
Version0.14.0
https://cran.r-project.org/package=riverdist

View on CRAN

Man pages

abstreams: Dataset: A-B Streams

abstreams0: Dataset: A-B Streams 0

addcumuldist: Add Cumulative Distance to a River Network

addverts: Add Vertices To Maintain a Minumum Distance Between Vertices

buildlookup: Build Lookup Tables for Fast Distance Computation

buildsegroutes: Build Segment Routes

calculateconnections: Calculate the Connectivity Matrix for a River Network

checkbraided: Check for Braiding in a River Network

checkbraidedTF: Check for Braiding in a River Network

cleanup: Interactive Cleanup of a River Network

connectsegs: Connect Segments

detectroute: Detect Route

dissolve: Dissolve

fakefish: Dataset: Fakefish

fakefish_density: Dataset: Fakefish Density

Gulk: Dataset: Gulkana River

highlightseg: Highlight Segments

homerange: Home Range

homerange-class: The "homerange" Class

homerangeoverlap: Home Range Overlap

isflowconnected: Check Flow-Connectedness

Kenai1: Dataset: Kenai River 1

Kenai2: Dataset: Kenai River 2

Kenai3: Dataset: Kenai River 3

kfunc: Plotting K-functions for a Set of Surveys

KilleyW: Dataset: Killey River, West Channel

Koyukuk0: Dataset: Koyukuk River 0

Koyukuk1: Dataset: Koyukuk River 1

Koyukuk2: Dataset: Koyukuk River 2

line2network: Create a River Network Object from a Shapefile

line98: Dataset: Line 98 of Kenai River 1 (Long-Lat)

makeriverdensity: Calculate Kernel Density Using River Distance

mapbyname: Map Segments by Name

matbysurveylist: Generate List of Distance Matrix Between Observations, for...

mouthdist: Distance From Mouth

mouthdistbysurvey: Distance From Mouth for All Observations of Individuals

pdist: Pythagorean Distance

pdisttot: Total Pythagorean Distance

plot.homerange: Plot Home Range

plothomerangeoverlap: Plot Home Range Overlap

plotmatbysurveylist: Plot Upstream Distance Between Observations of All...

plot.riverdensity: Plot Kernel Density Using River Distance

plotriverdensitypoints: Plot Points Used for Kernel Density

plot.rivernetwork: Plotting a River Network

plotseq: Plot Sequence of Observations

pointshp2segvert: Convert a Point Shapefile to River Locations

removeduplicates: Remove Duplicates

removemicrosegs: Remove Segments that are Smaller than the Connectivity...

removeunconnected: Remove Unconnected Segments

riverdensity: The "riverdensity" Class

riverdirection: River Direction

riverdirectionmat: River Direction Matrix

riverdirectionmatbysurvey: River Direction Matrix of All Observations of an Individual

riverdirectionseq: River Travel Direction Between Sequential Observations

riverdirectiontofrom: River Direction Matrix between Two Datasets

riverdistance: River Distance

riverdistancelist: Multiple River Distances

riverdistancemat: River Distance Matrix

riverdistancematbysurvey: River Distance Matrix of All Observations of an Individual

riverdistanceseq: River Distance Between Sequential Observations

riverdistancetofrom: River Distance Matrix between Two Datasets

riverdist-package: River Network Distance Computation and Applications

rivernetwork: The "rivernetwork" Class

riverpoints: Draw Points from River Locations

routelist: Detect Multiple Routes

sequenceverts: Store Vertices in Ascending Sequence

setmouth: Specify the Segment and Vertex of the Mouth of a River...

showends: Identify Vertex Coordinates of Segment Endpoints

smallset: Dataset: Smallset

splitsegmentat: Split a Segment at a Specified Vertex

splitsegments: Split Segments by Endpoint Proximity

topologydots: Check Connectivity of a River Network Object

trimriver: Trim a River Network Object to Specified Segments

trimtopoints: Trim a River Network to a Set of X-Y Coordinates

upstream: Upstream River Distance

upstreammat: Upstream Distance Matrix

upstreammatbysurvey: Upstream Distance Matrix of All Observations of an Individual

upstreamseq: Upstream Distance Between Sequential Observations

upstreamtofrom: Upstream Distance Matrix between Two Datasets

whoconnected: Check Which Segments are Connected to a Given Segment.

xy2segvert: Convert XY Coordinates to River Locations

zoomtoseg: Zoom to segment

Functions

abstreams Man page
abstreams0 Man page
addcumuldist Man page
addverts Man page
buildlookup Man page
buildsegroutes Man page
calculateconnections Man page
checkbraided Man page
checkbraidedTF Man page
cleanup Man page
connectsegs Man page
detectroute Man page
dissolve Man page
fakefish Man page
fakefish_density Man page
Gulk Man page
highlightseg Man page
homerange Man page
homerange-class Man page
homerangeoverlap Man page
isflowconnected Man page
Kenai1 Man page
Kenai2 Man page
Kenai3 Man page
kfunc Man page
KilleyW Man page
Koyukuk0 Man page
Koyukuk1 Man page
Koyukuk2 Man page
line2network Man page
line98 Man page
makeriverdensity Man page
mapbyname Man page
mapriver Man page
matbysurveylist Man page
mouthdist Man page
mouthdistbysurvey Man page
pdist Man page
pdisttot Man page
plot.homerange Man page
plothomerangeoverlap Man page
plotmatbysurveylist Man page
plotriverdensity Man page
plot.riverdensity Man page
plotriverdensitypoints Man page
plot.rivernetwork Man page
plotseq Man page
pointshp2segvert Man page
removeduplicates Man page
removemicrosegs Man page
removeunconnected Man page
riverdensity Man page
riverdensity-class Man page
riverdirection Man page
riverdirectionmat Man page
riverdirectionmatbysurvey Man page
riverdirectionseq Man page
riverdirectiontofrom Man page
riverdist Man page
riverdistance Man page
riverdistancelist Man page
riverdistancemat Man page
riverdistancematbysurvey Man page
riverdistanceseq Man page
riverdistancetofrom Man page
riverdist-package Man page
rivernetwork Man page
rivernetwork-class Man page
riverpoints Man page
routelist Man page
sequenceverts Man page
setmouth Man page
showends Man page
smallset Man page
splitsegmentat Man page
splitsegments Man page
topologydots Man page
trimriver Man page
trimtopoints Man page
upstream Man page
upstreammat Man page
upstreammatbysurvey Man page
upstreamseq Man page
upstreamtofrom Man page
whoconnected Man page
xy2segvert Man page
zoomtoseg Man page

Files

inst
inst/extdata
inst/extdata/fakefish_UTM5.sbx
inst/extdata/fakefish_UTM5.sbn
inst/extdata/Gulk_UTM5.prj
inst/extdata/fakefish_UTM5.shp
inst/extdata/Gulk_UTM5.shx
inst/extdata/Gulk_UTM5.sbn
inst/extdata/fakefish_UTM5.cpg
inst/extdata/Gulk_UTM5.sbx
inst/extdata/Gulk_UTM5.shp
inst/extdata/Gulk_UTM5.shp.xml
inst/extdata/fakefish_UTM5.prj
inst/extdata/Gulk_UTM5.CPG
inst/extdata/fakefish_UTM5.dbf
inst/extdata/Gulk_UTM5.dbf
inst/extdata/fakefish_UTM5.shx
inst/doc
inst/doc/riverdist_vignette.Rmd
inst/doc/riverdist_vignette.R
inst/doc/riverdist_vignette.html
tests
tests/testthat.R
tests/testthat
tests/testthat/test_riverdist.R
NAMESPACE
NEWS.md
data
data/fakefish.rda
data/KilleyW.rda
data/fakefish_density.rda
data/Koyukuk0.rda
data/Kenai1.rda
data/smallset.rda
data/Kenai2.rda
data/line98.rda
data/Kenai3.rda
data/datalist
data/Koyukuk2.rda
data/abstreams0.rda
data/Koyukuk1.rda
data/Gulk.rda
data/abstreams.rda
R
R/riverdist_1.R R/apps_of_direction.R R/plotdensity.R R/dissolve_zoom.R R/shortestroute_cleanup.R R/segs_direction.R R/dataset_help.R R/detectroute_riverdistance.R R/kfuncs.R R/segsplit.R R/detectbraiding.R R/apps_of_riverdistance.R R/riverdist.R
vignettes
vignettes/riverdist_vignette.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/riverpoints.Rd man/dissolve.Rd man/Gulk.Rd man/riverdistancematbysurvey.Rd man/matbysurveylist.Rd man/riverdensity.Rd man/riverdistancemat.Rd man/Koyukuk2.Rd man/whoconnected.Rd man/trimriver.Rd man/highlightseg.Rd man/plotriverdensitypoints.Rd man/cleanup.Rd man/riverdistance.Rd man/trimtopoints.Rd man/xy2segvert.Rd man/abstreams.Rd man/upstreammatbysurvey.Rd man/plot.riverdensity.Rd man/addverts.Rd man/fakefish.Rd man/removeduplicates.Rd man/riverdirection.Rd man/Kenai1.Rd man/smallset.Rd man/abstreams0.Rd man/riverdirectiontofrom.Rd man/homerange-class.Rd man/plot.homerange.Rd man/removemicrosegs.Rd man/pointshp2segvert.Rd man/setmouth.Rd man/line2network.Rd man/zoomtoseg.Rd man/riverdistanceseq.Rd man/line98.Rd man/calculateconnections.Rd man/plotseq.Rd man/Kenai2.Rd man/routelist.Rd man/sequenceverts.Rd man/detectroute.Rd man/Kenai3.Rd man/topologydots.Rd man/mapbyname.Rd man/upstreamtofrom.Rd man/Koyukuk1.Rd man/mouthdist.Rd man/makeriverdensity.Rd man/isflowconnected.Rd man/splitsegmentat.Rd man/mouthdistbysurvey.Rd man/upstream.Rd man/pdisttot.Rd man/plotmatbysurveylist.Rd man/homerangeoverlap.Rd man/riverdirectionmat.Rd man/showends.Rd man/riverdist-package.Rd man/riverdistancetofrom.Rd man/removeunconnected.Rd man/KilleyW.Rd man/connectsegs.Rd man/splitsegments.Rd man/checkbraided.Rd man/plot.rivernetwork.Rd man/riverdirectionmatbysurvey.Rd man/plothomerangeoverlap.Rd man/kfunc.Rd man/riverdistancelist.Rd man/Koyukuk0.Rd man/buildsegroutes.Rd man/rivernetwork.Rd man/pdist.Rd man/upstreamseq.Rd man/homerange.Rd man/checkbraidedTF.Rd man/upstreammat.Rd man/buildlookup.Rd man/riverdirectionseq.Rd man/fakefish_density.Rd man/addcumuldist.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.