Skip to main content

R Code: Mapped and Attributed Data Random Area and Point (MADRAP) Generator

Citation

Harrison, T.J., Sattler, S.R., Strassman, A.C. 2020. Mapped and Attributed Data Random Area and Point (MADRAP) Generator. U.S. Geological Survey code release. https://doi.org/10.5066/P9WMRQVY

Summary

## Description Generate random points and sample areas from polygons in a shapefile with sampling constraints for each map class. Can be used to generate sample areas for accuracy assessment in cartography. ## Pre-requisites Software [R](https://cran.r-project.org/bin/windows/base/old/3.5.3/), [RStudio](https://rstudio.com), and [Rtools](https://cran.r-project.org/bin/windows/Rtools/). ## Installation Install MADRAP as a package using Rtools. Download the repository and unzip `madrap-master.zip`. Open RStudio and... Click File > Open Project > madrap-master/madrap/MADRAP.Rproj > Open Click the build tab in the top right then click "Install and Restart". You may run into installation issues if you do not have permission to modify [...]

Child Items (1)

Attached Files

Click on title to download individual files attached to this item.

.gitignore 40 Bytes text/plain
LICENSE.md 1.54 KB text/x-web-markdown
P0.png thumbnail 6.66 KB image/png
P1.png thumbnail 6.8 KB image/png
P2.png thumbnail 7.22 KB image/png
P3.png thumbnail 7.42 KB image/png
P4.png thumbnail 7.14 KB image/png
README.md 3.95 KB text/x-web-markdown

Purpose

Internal USGS can also find the code at https://code.usgs.gov/tharrison/madrap
Preview Image

Communities

  • Upper Midwest Environmental Sciences Center (UMESC)

Provenance

Data source
Input directly

Item Actions

View Item as ...

Save Item as ...

View Item...