Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

rdwplus (version 0.1.0)

An Implementation of IDW-PLUS

Description

Compute spatially explicit land-use metrics for stream survey sites in GRASS GIS and R as an open-source implementation of IDW-PLUS (Inverse Distance Weighted Percent Land Use for Streams). The package includes functions for preprocessing digital elevation and streams data, and one function to compute all the spatially explicit land use metrics described in Peterson et al. (2011) and previously implemented by Peterson and Pearse (2017) in ArcGIS-Python as IDW-PLUS.

Copy Link

Version

Install

install.packages('rdwplus')

Monthly Downloads

164

Version

0.1.0

License

GPL-3

Maintainer

Alan Pearse

Last Published

December 7th, 2019

Functions in rdwplus (0.1.0)

get_watershed

Delineate watershed for a survey site
silence

Function to suppress messages, warnings, errors from GRASS commands
retrieve_raster

Write a raster layer from the current GRASS mapset to file
report_mapset

Identify current mapset or list all possible mapsets
set_envir

Set environment parameters from a GIS layer.
plot_layer

A function to plot a raster from a file name
point_to_raster

Convert outlet of a watershed from shapefile format into raster format
reclassify_streams

Reclassify streams into the format required for the land use metric calculations
toggle_silence

Toggle between silence on and silence off
rdwplus

An Implementation of IDW-PLUS (Inverse Distance Weighted Percent Land Use for Streams) in R
snap_sites

A function to snap sites in a shapefile to a flow accumulation grid
plot_GRASS

A function to plot a raster from the current GRASS mapset
vibe_check

A function to print current vectors and rasters in the mapset.
vector_to_mapset

Import rasters into GRASS mapset
get_flow_length

Derive a flow length to streams and outlets
raster_to_mapset

Import rasters into GRASS mapset
rasterise_stream

Turn a shapefile of stream edges into a raster
retrieve_vector

Write a vector layer from the current GRASS mapset to file
search_for_grass

Find GRASS installations
derive_streams

Extract streams from a flow accumulation raster
get_distance

Compute Euclidean distance to a survey site or stream line within a watershed
coord_to_raster

Turn coordinates of outlets into rasters
compute_metrics

Compute spatially explicit watershed attributes for survey sites on streams
fill_sinks

Fill sinks in a digital elevation model (DEM)
convert_to_integer

Convert a raster to integer format
derive_flow

Obtain flow direction and accumulation over a digital elevation model (DEM)
burn_in

Burn in streams to a digital elevation model
check_running

Check whether a valid GRASS session is running