plotCM: Plot a connectivity matrix

Description Usage Arguments Details

Description

Plot a connectivity matrix (from a matrix, dataframe, or csv file).

Usage

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))

Arguments

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))

Details

- deprecated in favor of plotCM.GG. Calls plotCM.matrix or plotCM.dataframe, depending on class of 'tbl'.


wStockhausen/wtsDisMELSConn documentation built on May 3, 2019, 7:36 p.m.