Description Usage Arguments Examples
View source: R/plotACMTslice.R
Multipanel plot of acoustics and midwater trawl samples by slice.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
MTgroup |
Vector, identifying the group membership (typically, the slice) of the midwater trawl tow locations to be mapped. |
ACgroup |
Vector, identifying the group membership (typically, the slice) of the acoustic transect locations to be mapped. |
sug |
Vector, identifying the unique groups to which locations may belong,
default sort(unique(c( |
MTbd |
Numeric vector of bottom depths sampled by midwater trawl tows,
same length as |
ACbd |
Numeric vector of bottom depths sampled by acoustic transects,
same length as |
MTwd |
Numeric vector of water depths sampled by midwater trawl tows,
same length as |
ACwd |
Numeric vector of water depths sampled by acoustic transects,
same length as |
Gcol |
A vector, the color used for plot symbols,
same length as |
boxcol |
A scalar, the color of the three- to five-sided box around the scatterplot, default "gray". |
axlabelcol |
A scalar, the color of the axis labels, default "gray". |
axtitlecol |
A scalar, the color of the axis titles, default "darkgray". |
mar |
A numeric vector of length 4, the number of lines of margin c(bottom, left, top, right) around each plotted map plot, default c(0, 0, 2.5, 0). |
oma |
A numeric vector of length 4, the number of lines of outer margin c(bottom, left, top, right) around the multipanel plots, default c(1.5, 2, 1.5, 2). |
1 2 3 4 5 6 7 8 9 10 11 12 | # acoustic transects
agroup <- c("Main", "Bay")[c(1, 1, 1, 1, 2, 2, 2)]
abd <- c(50, 100, 50, 100, 50, 100, 50)
awd <- c(10, 10, 20, 20, 10, 10, 20)
# midwater trawls
mgroup <- c("Main", "Bay")
mbd <- c(30, 80)
mwd <- c(15, 60)
plotACMTslice(MTgroup=mgroup, ACgroup=agroup, MTbd=mbd, ACbd=abd,
MTwd=mwd, ACwd=awd)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.