plot_colour_table: Plot a colour table for visual inspection during...

View source: R/plot_colour_table.R

plot_colour_tableR Documentation

Plot a colour table for visual inspection during classification testing.

Description

This function takes the colour summary table output from click_sample and produce the colour plot. This allows the user to create the colour plot and experiment with different values of "errors" without needing to classify the map. It does not change the colour table input, but is simply a tool to visually determine which error value should be input into the "raster_reclass" function.

Usage

plot_colour_table(colour.table, errors = 0)

Arguments

colour.table

Data frame. Output from click_sample (or matching dataframe).

errors

Integer. Adjust maximum and minimum colour bands by the standard error times this term.

Value

Plots a colour table

Author(s)

Alistair Auffret and Adam Kimberley

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.

Examples

	data(HistMapRex)
	plot_colour_table(col.table, errors = 1) 

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