overlay_ringsearch: Add ring-search geoprofile to dynamic map

Description Usage Arguments Examples

View source: R/plot.R

Description

Add ring-search geoprofile to dynamic map.

Usage

1
2
3
4
5
6
7
8
overlay_ringsearch(
  myplot,
  project,
  threshold = 0.1,
  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().

threshold

what proportion of geoprofile to plot.

col

set of plotting colours.

opacity

opacity of geoprofile (that is not invisible due to being below threshold).

smoothing

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

Examples

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

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