overlay_spatial_prior: Add spatial prior to dynamic map

Description Usage Arguments Examples

View source: R/plot.R

Description

Add spatial prior to dynamic map

Usage

1
2
3
4
5
6
7
overlay_spatial_prior(
  myplot,
  project,
  col = col_hotcold(),
  opacity = 0.8,
  smoothing = 1
)

Arguments

myplot

dynamic map produced by plot_map() function.

project

an RgeoProfile project, as produced by the function rgeoprofile_project().

col

set of plotting colours.

opacity

opacity of spatial prior.

smoothing

what level of smoothing to apply to spatial prior Smoothing is applied using the raster function disaggregate, with method = "bilinear".

Examples

1
2
3
plot1 <- plot_map()
plot1 <- overlay_spatial_prior(myplot = plot1, project = p)
plot1

Michael-Stevens-27/silverblaze documentation built on May 28, 2021, 5:47 p.m.