plotCM.GG: Plot connectivity matrices using ggplot2

Description Usage Arguments Details Value

Description

Function to plot connectivity matrices using ggplot2.

Usage

1
2
3
4
5
plotCM.GG(dfr, x = "nursery area", y = "spawning area", z = "Pr(N|S)",
  title = NULL, xLab = x, yLab = y, zLab = z, xMin = NULL,
  xMax = NULL, yMin = NULL, yMax = NULL, zMin = NULL, zMax = NULL,
  facetWrap = NULL, facetGrid = NULL, ncol = 4, reverseX = FALSE,
  reverseY = FALSE, useGrad2 = FALSE, verbose = FALSE)

Arguments

dfr

- dataframe to plot

x

- column name for x values

y

- column name for y values

z

- column name for z values

title

- plot title

xLab

- x axis label

yLab

- y axis label

zLab

- z label

xMin

- x axis minimum

xMax

- x axis maximum

yMin

- y axis minimum

yMax

- y axis maximum

zMin

- z axis minimum

zMax

- z axis maximum

facetWrap

- formula for ggplot2::facet_wrap

facetGrid

- formula for ggplot2::facet_grid

ncol

- number of columns for ggplot2::facet_wrap

reverseX

- flag to reverse x axis

reverseY

- flag to reverse y axis

useGrad2

- flag to use reshape2::scale_fill_gradient2 for fill axis

verbose

- flag (T/F) to print debugging info

Details

none.

Value

a ggplot2 object


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