HistMapR-package | R Documentation |
Contains four functions for smoothing, colour assignment and classification of scanned historical land-use maps. Draws mostly from the terra
package by R. Hijmans.
smooth_map(in.raster, window.size = 25, smooth.function = mean, dark.rm = TRUE, darkValue = 100, clip.frame = FALSE)
click_sample(in.raster, cats = NULL, npoints = 10, print.values = FALSE, type = "p", plot.cols = TRUE, ...)
plot_colour_table(colour.table, errors = 0)
class_map(in.raster, colour.table = NULL, errors = 0, exceptions = NULL, plot.raster = TRUE, raster.summary = FALSE, save.raster = FALSE, out.file = NULL)
Package: | HistMapR |
Type: | Package |
Version: | 0.2 |
Date: | 2025-02-06 |
License: | MIT |
Alistair Auffret and Adam Kimberley
Maintainer: Alistair Auffret <alistair.auffret@slu.se>
Auffret, A.G., Kimberley, A., et al., 2017, HistMapR: Rapid digitization of historical maps in R, Methods in Ecology and Evolution, doi: 10.1111/2041-210X.12788., Link. GitHub repository.
Hijmans, R.J. (2023) terra: Spatial Data Analysis. R package version 1.7-29, https://CRAN.R-project.org/package=terra.
See individual functions for examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.