Package: rdwplus 1.0.0

rdwplus: An Implementation of IDW-PLUS

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) <doi:10.1111/j.1365-2427.2010.02507.x> and previously implemented by Peterson and Pearse (2017) <doi:10.1111/1752-1688.12558> in ArcGIS-Python as IDW-PLUS.

Authors:Alan Pearse [aut, cre], Grace Heron [aut], Erin Peterson [aut]

rdwplus_1.0.0.tar.gz
rdwplus_1.0.0.zip(r-4.5)rdwplus_1.0.0.zip(r-4.4)rdwplus_1.0.0.zip(r-4.3)
rdwplus_1.0.0.tgz(r-4.4-any)rdwplus_1.0.0.tgz(r-4.3-any)
rdwplus_1.0.0.tar.gz(r-4.5-noble)rdwplus_1.0.0.tar.gz(r-4.4-noble)
rdwplus_1.0.0.tgz(r-4.4-emscripten)rdwplus_1.0.0.tgz(r-4.3-emscripten)
rdwplus.pdf |rdwplus.html
rdwplus/json (API)

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

Peer review:

Bug tracker:https://github.com/apear9/rdwplus/issues

On CRAN:

3.60 score 4 stars 6 scripts 133 downloads 32 exports 24 dependencies

Last updated 1 years agofrom:600cc11263. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 24 2024
R-4.5-winOKOct 24 2024
R-4.5-linuxOKOct 24 2024
R-4.4-winOKOct 24 2024
R-4.4-macOKOct 24 2024
R-4.3-winOKOct 24 2024
R-4.3-macOKOct 24 2024

Exports:burn_incheck_runningclear_maskcompute_iFLO_weightscompute_iFLS_weightscompute_metricscompute_metrics_precomputedconvert_to_integercoord_to_rasterderive_flowderive_streamsfill_sinksget_distanceget_flow_lengthget_watershedsinstall_extensionsplot_GRASSpoint_to_rasterrast_calcraster_to_mapsetrasterise_streamreclassify_streamsretrieve_rasterretrieve_vectorsearch_for_grassset_envirset_masksilencesnap_sitestoggle_silencevector_to_mapsetvibe_check

Dependencies:abindclassclassIntcliDBIe1071glueKernSmoothlifecyclemagrittrMASSproxyRcpprgrassrlangs2sfstarsstringistringrunitsvctrswkxml2

Readme and manuals

Help Manual

Help pageTopics
Burn in streams to a digital elevation modelburn_in
Check whether a valid GRASS session is runningcheck_running
Clear current raster maskclear_mask
Compute iFLO weightscompute_iFLO_weights
Compute iFLS weightscompute_iFLS_weights
Compute spatially explicit watershed attributes for survey sites on streamscompute_metrics
Compute spatially explicit watershed attributes for survey sites on streamscompute_metrics_precomputed
Convert a raster to integer formatconvert_to_integer
Turn coordinates of outlets into rasterscoord_to_raster
Obtain flow direction and accumulation over a digital elevation model (DEM)derive_flow
Extract streams from a flow accumulation rasterderive_streams
Fill sinks in a digital elevation model (DEM)fill_sinks
Compute Euclidean distance to a survey site or stream line within a watershedget_distance
Derive a flow length to streams and outletsget_flow_length
Delineate watersheds for survey sitesget_watersheds
Install required extension(s)install_extensions
A function to plot a raster from the current GRASS mapsetplot_GRASS
Convert outlet of a watershed from shapefile format into raster formatpoint_to_raster
Raster calculator (wrapper for "r.mapcalc")rast_calc
Import rasters into GRASS mapsetraster_to_mapset
Turn a shapefile of stream edges into a rasterrasterise_stream
Reclassify streams into various formatsreclassify_streams
Identify current mapset or list all possible mapsetsreport_mapset
Write a raster layer from the current GRASS mapset to fileretrieve_raster
Write a vector layer from the current GRASS mapset to fileretrieve_vector
Find GRASS installationssearch_for_grass
Set projection and computation region from a raster file.set_envir
Set a raster maskset_mask
Function to suppress messages, warnings, errors from GRASS commandssilence
A function to snap survey sites to a stream raster and a flow accumulation rastersnap_sites
Toggle between silence on and silence offtoggle_silence
Import rasters into GRASS mapsetvector_to_mapset
A function to summarise the computation region, vectors and rasters in the mapset.vibe_check