HistMapR-package: Rapid digitization of historical land-use maps in R

HistMapR-packageR Documentation

Rapid digitization of historical land-use maps in R

Description

Contains four functions for smoothing, colour assignment and classification of scanned historical land-use maps. Draws mostly from the raster package by R. Hijmans.

Usage

smooth_map(in.raster, window.size = 25, smooth.function = mean, dark.rm = TRUE, darkValue = 100, pad = TRUE, padValue = NA)

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)

Details

Package: HistMapR
Type: Package
Version: 0.1
Date: 2017-01-26
License: MIT

Author(s)

Alistair Auffret and Adam Kimberley

Maintainer: Alistair Auffret <alistair.auffret@natgeo.su.se>

References

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. (2016) raster: Geographic Data Analysis and Modeling. R package version 2.5-8, http://CRAN.R-project.org/package=raster.

Examples

See individual functions for examples

AGAuffret/HistMapR documentation built on July 20, 2023, 2:43 a.m.