plotCompsAsCircles: Create or add to a circle plot of age or size comp.s.

Description Usage Arguments Details Value

View source: R/plotCompsAsCircles.R

Description

Creates or adds to a circle plot of age or size comp.s.

Usage

1
2
3
4
5
6
plotCompsAsCircles(z = NULL, x = NULL, y = NULL, transform = TRUE,
  overplot = FALSE, maxRadius = 0.5, scale = NULL, fg = c("black",
  "black"), bg = c("green", "blue"), lty = c("solid", "solid"),
  transparency = 0.5, plotCohorts = FALSE, units = "data units",
  main = NA, subtitle = NA, xlims = NULL, ylims = NULL, xaxt = TRUE,
  yaxt = TRUE, xlab = NA, ylab = NA, ...)

Arguments

z

- vector or matrix of values to be plotted as circles

x

- x coordinates of circle centers

y

- y coordinates of circle centers

transform

- flag (T/F) to scale z values to circle area (T) or radius (F)

overplot

- flag (T/F) to plot over an existing plot

maxRadius

- max radius (in data units) to allow

scale

- scale factor to normalize z values by

fg

- vector of colors for circle outlines ("black","grey"),

bg

- vector of colors for circle fills ("blue","green"),

lty

- vector of line types for circle outlines ("solid","dotted") to use

transparency

- alpha level for transparency (0-1)

plotCohorts

flag (T/F) to plot cohorts

units

- label for units

main

- title for plot

subtitle

- subtitle for plot

xlims

- x axis limts

ylims

- y axis limits

xaxt

- x axis text

yaxt

- y axis text

xlab

- x axis label

ylab

- y axis label

Details

if z is a vector, x must be a vector of length(z) if z is a matrix, x can be a matrix of dim(z) or x can be a vector of length ncol(z) if z is a vector, y must be a vector of length(z) if z is a matrix, y can be a matrix of dim(z) or y can be a vector of length nrow(z)

Value

value used to scale the plot


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.