Description Usage Arguments Details
Plot a connectivity matrix (from a matrix, dataframe, or csv file).
1 2 3 4 5 | plotCM(tbl = NULL, csvfile = NULL, zmax = NULL, zmin = 0,
title = NULL, xlab = "Nursery Areas/Alongshore Zones",
ylab = "Spawning Areas/Alongshore Zones", devtype = "win", cex = 1 *
(devtype == "win") + 1.5 * (devtype != "win"), colorscale = c("hot", "cold",
"coldhot"), plotfile = "CM.png", plotsize = c(970, 780))
|
tbl |
- dataframe or matrix representation of a connectivity matrix (can be NULL) |
csvfile |
- csv file to read connectivity matrix from (can be NULL) |
zmax |
- max value for color scale |
zmin |
- min value for color scale |
title |
- title for plot |
xlab |
- label for x axis |
ylab |
- label for y axis |
devtype |
- 'win' or 'png' |
cex |
- character expansion factor for plot |
colorscale |
- color scale to use for plot ('hot', 'cold' or 'coldhot') |
plotfile |
- file to save plot to (if devtype != 'win') |
plotsize |
- 2 element vector giving plot size in pixels (c(W,H)) |
- deprecated in favor of plotCM.GG. Calls plotCM.matrix or plotCM.dataframe,
depending on class of 'tbl'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.