View source: R/plotCompsAsCircles.dataframe.R
plotCompsAsCircles.dataframe | R Documentation |
Function to plot size/age comps in a dataframe as circles.
plotCompsAsCircles.dataframe(
dfr,
zcols = "z",
xcol = "x",
ycol = "y",
hasCutPts = TRUE,
transform = TRUE,
overplot = FALSE,
maxRadius = 0.5,
scale = NULL,
xjit = 0,
fg = "black",
bg = "blue",
lty = "solid",
transparency = 0.5,
plotCohorts = FALSE,
units = "data units",
main = NA,
subtitle = "",
xlims = NULL,
ylims = NULL,
xlab = "years",
ylab = "size",
xaxt = NULL,
yaxt = TRUE,
debug = FALSE
)
dfr |
: dataframe with columns xcol, ycol, zcols |
zcols |
: dfr column names with values to plot as circles |
xcol |
: dfr column name with x-axis positions |
ycol |
: dfr column name with y-axis positions |
hasCutPts |
: flag indicating whether y-axis positions are cut points |
transform |
: flag (T/F) to scale circle size by area rather than diameter |
overplot |
: flag to draw on an existing plot |
maxRadius |
: max radius for circles (axis?) |
scale |
: overall scale factor |
xjit |
: jitter applied to x-axis positions |
fg |
: foreground color for circles |
bg |
: background color for circles |
lty |
: line type for circles |
transparency |
: alpha (0-1) transparency for circles |
plotCohorts |
: flag (T/F) to plot cohorts |
units |
: text to display as units |
main |
: plot title |
subtitle |
: plot subtitle |
xlims |
: x-axis limits |
ylims |
: y-axis limits |
xlab |
: x-axis label |
ylab |
: y-axis label |
xaxt |
: |
yaxt |
: flag (T/F) |
debug |
: flag to print debugging info |
calls plotCompsAsCircles() to make plot.
value used to scale the circles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.