bgplot | R Documentation |
The function takes a single time slice from a grouping output and plots a geographic rendering.
bgplot(
bdat,
map = NULL,
lng = NULL,
lat = NULL,
colors = NULL,
labels = NULL,
cell = "rownames",
circles = TRUE,
icosa = NULL,
xlim = c(-180, 180),
ylim = c(-90, 90),
xlab = "longitude",
ylab = "latitude",
alpha = 0.5,
between = NULL,
fademap = 0.5,
map.args = NULL,
border = "gray50",
grid.args = NULL,
lab.args = NULL,
axes = TRUE,
asp = 1,
add = FALSE
)
bdat |
( |
map |
( |
colors |
( |
labels |
( |
cell |
( |
circles |
( |
icosa |
( |
xlim |
( |
ylim |
( |
xlab |
( |
ylab |
( |
alpha |
( |
between |
( |
fademap |
( |
map.args |
( |
grid.args |
( |
lab.args |
( |
axes |
( |
asp |
( |
add |
( |
Option B. coorindates go to bdat, triggering
# Partition the Cenozoic 6 benthic subset of the Paleobiology Database
oneC6 <- bgpart(ceno6,bin=NULL, tax="trinomen", cell="icos", ocq=10, base="network", method="infomap")
# The used grid for plotting
library(icosa)
hex <- hexagrid(c(4,3), sp=TRUE)
# land polygons and colors for a nice plot
data(land)
bgplot(oneC6, map=land, colors="col", icosa=hex, labels="grouping")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.