plotProfosPP | R Documentation |
This function creates two plots, (1) one showing the raw and spline smoothed track of the vessel (ship) and the raw and spline and lowess smoothed track of the school, and (2) a related plot showing the mean volume backscattering coefficient/strength of the school as a function of incidence angle rotation (increasing along the unit circle).
plotProfosPP(
x,
ind = c(1, 2),
col = list(ship = c("black", "purple"), school = c("black", "brown", "orange"), link =
"green4"),
pch = list(ship = "*", school = 1),
cex = list(ship = c(1, 0.5), school = c(1, 0.5, 0.5), link = 1),
lwd = list(track = 0.5, link = 1, sv = 1),
plotlink = TRUE,
linkvar = "lowess",
every = NULL,
use = c("sv", "Sv"),
svQ = c(0.1, 0.9),
...
)
readProfosPP(
x,
currentSpeed = NULL,
currentAngle = NULL,
compensateCurrent = TRUE,
sparfact = 1,
spar0 = 0.5,
byId = TRUE,
rm.duplicates = FALSE,
filter = NULL,
cores = 1,
nrows = -1,
smooth = TRUE,
...
)
x |
The Profos per ping file. |
ind |
A numeric vector indicating which plots to produce, 1 being the track plot and 2 the sv plot. |
col , pch , cex |
A list of color, ploting character and character expansion values for the ship, school and links between these at transitions between weak and strong echo. |
lwd |
A list of line width values for the (smoothed) tracks (plotted with type="o"), the links, and the sv. |
plotlink |
Logical: If TRUE plot links. |
linkvar |
The type of smoothing of the school to connect ship positions to, one of "spline" (less smoothing) and "lowess" (stronger smoothing). |
every |
Plot links at every |
use |
Whether to use linear ('sv') or logarithmical ('Sv') mean volume backscattering. |
svQ |
A vector of length 2 defining the quantiles used for defining the amplitude of the sine wave which is fitted to the mean Sv to obtain transitions between weak and strong echo. |
... |
Arguments passed to |
currentSpeed |
A vector of the speed of the current at the observation, one value per ping or one value for all pings. |
currentAngle |
A vector of the angle of the current at the observation, in degrees clockwise from North, one value per ping or one value for all pings. |
compensateCurrent |
Logical: If TRUE (the default), compensate for the current. |
sparfact |
A factor to multiply the |
spar0 |
The value of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.