ggplot_count {wingen}R Documentation

Plot moving window map of sample counts

Description

Plot sample counts layer produced by window_gd or krig_gd

Usage

ggplot_count(x, index = NULL, col = viridis::mako(100))

Arguments

x

single SpatRaster of counts or SpatRaster where indexed layer is sample counts

index

index of raster layers to plot (defaults to plotting the one called "sample_count", if more than one layer is provided)

col

color palette to use for plotting (defaults to viridis::mako palette)

Value

list of ggplots

Examples

data("mini_lyr")
ggplot_count(mini_lyr)

[Package wingen version 2.1.2 Index]