View source: R/visualization.R
plot_map | R Documentation |
slendr
geographic features on a mapPlots objects of the three slendr
spatial classes (slendr_map
,
slendr_region
, and slendr_pop
).
plot_map(
...,
time = NULL,
gene_flow = FALSE,
labels = FALSE,
graticules = "original",
intersect = TRUE,
show_map = TRUE,
title = NULL,
interpolated_maps = NULL
)
... |
Objects of classes |
time |
Plot a concrete time point |
gene_flow |
Indicate geneflow events with an arrow |
labels |
Should the (starting) polygons of each populations be labeled with
a respective population label (default |
graticules |
Plot graticules in the original Coordinate Reference System (such as longitude-latitude), or in the internal CRS (such as meters)? |
intersect |
Intersect the population boundaries against landscape and
other geographic boundaries (default |
show_map |
Show the underlying world map |
title |
Title of the plot |
interpolated_maps |
Interpolated spatial boundaries for all populations
in all time points (this is only used for plotting using the |
A ggplot2 object with the visualized slendr map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.