plot_map_zoom.Rd
Plot the map composition of a raster layer in a radial neighborhood of a point.
plot_map_zoom(file, x, cells, radius, classes, col, title = NULL, class_order = seq_along(classes), base_path = ".", width = 1000, height = 1000)
file | character, output file. |
---|---|
x | raster layer. Should be discretely valued/categorical. |
cells | cell numbers, typically defining a radial clump, but will accept any valid cells numbers. |
radius | in meters, catering to NAD83 Alaska Albers projected ALFRESCO map output. |
classes | character, the names of the classes assigned to the unique values in |
col | color vector the same length as |
title | character, plot title. |
class_order | integer vector, optional reordering of classes when the ordered values in |
base_path | character, defaults to working directory. |
width | numeric, plot width in pixels. |
height | numeric, plot height in pixels. |
nothing is returned, but a file is saved to disk.
This function saves a png to disk of a radial buffer around a point. It is used for zooming in spatially around points of interest in raster layers such as those output by ALFRESCO.
# not run