ggplot_count: Plot moving window map of sample counts

View source: R/ggplot_gd.R

ggplot_countR 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)

wingen documentation built on May 29, 2024, 9:59 a.m.