Learn R Programming

rdwplus (version 1.0.1)

Inverse Distance Weighted Percent Land Use for Streams

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

200

Version

1.0.1

License

GPL-3

Maintainer

Alan Pearse

Last Published

February 12th, 2025

Functions in rdwplus (1.0.1)

get_flow_length

Derive a flow length to streams and outlets
raster_to_mapset

Import rasters into GRASS mapset
rast_calc

Raster calculator (wrapper for "r.mapcalc")
install_extensions

Install required extension(s)
get_distance

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

Extract streams from a flow accumulation raster
point_to_raster

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

Delineate watersheds for survey sites
plot_GRASS

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

Fill sinks in a digital elevation model (DEM)
rdwplus-package

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

Set a raster mask
rasterise_stream

Turn a shapefile of stream edges into a raster
reclassify_streams

Reclassify streams into various formats
report_mapset

Identify current mapset or list all possible mapsets
set_envir

Set projection and computation region from a raster file.
search_for_grass

Find GRASS installations
silence

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

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

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

Import rasters into GRASS mapset
vibe_check

A function to summarise the computation region, vectors and rasters in the mapset.
toggle_silence

Toggle between silence on and silence off
snap_sites

A function to snap survey sites to a stream raster and a flow accumulation raster
compute_iFLO_weights

Compute iFLO weights
derive_flow

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

Compute iFLS weights
clear_mask

Clear current raster mask
check_running

Check whether a valid GRASS session is running
coord_to_raster

Turn coordinates of outlets into rasters
burn_in

Burn in streams to a digital elevation model
compute_metrics_precomputed

Compute spatially explicit watershed attributes for survey sites on streams
convert_to_integer

Convert a raster to integer format
compute_metrics

Compute spatially explicit watershed attributes for survey sites on streams