Add pie charts to dynamic map
overlay_piecharts( myplot, project, K = NULL, min_size = 10, max_size = 30, col = NULL )
| myplot | dynamic map produced by |
|---|---|
| project | an RgeoProfile project, as produced by the function
|
| K | which value of K to plot. |
| min_size, max_size | lower and upper limits on the size of pie charts. |
| col | segment colours. |
p <- rgeoprofile_file("tutorial1_project.rds") plot1 <- plot_map() plot1 <- overlay_piecharts(myplot = plot1, project = p, K = 2) plot1