Description Usage Arguments Details Value
View source: R/plotCompsAsCircles.R
Creates or adds to a circle plot of age or size comp.s.
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, ...)
|
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 |
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 used to scale the plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.