overlay_piecharts: Add pie charts to dynamic map

Description Usage Arguments Examples

View source: R/plot.R

Description

Add pie charts to dynamic map

Usage

1
2
3
4
5
6
7
8
overlay_piecharts(
  myplot,
  project,
  K = NULL,
  min_size = 10,
  max_size = 30,
  col = NULL
)

Arguments

myplot

dynamic map produced by plot_map() function.

project

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

K

which value of K to plot.

min_size, max_size

lower and upper limits on the size of pie charts.

col

segment colours.

Examples

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

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