| plotTDR-methods {diveMove} | R Documentation |
Main plotting method for objects of these classes.
## S4 method for signature 'TDR':
plotTDR(x, ...)
## S4 method for signature 'TDRspeed':
plotTDR(x, concurVars, concurVarTitles, ...)
## S4 method for signature 'TDRcalibrate':
plotTDR(x, diveNo=seq(max(getDAct(x, "dive.id"))),
labels="phase.id", concurVars, surface=FALSE, ...)
x |
"TDR", "TDRspeed",
or "TDRcalibrate"object. |
concurVars, concurVarTitles, ... |
Arguments passed to
plotTD. For the TDRspeed method,
concurVars is a matrix with variables to plot, in addition to
speed, if any. concurVarTitles in this case is a character
vector with axis labels for speed and the additional variables
supplied in concurVars. For the TDRcalibrate method,
concurVars is a character vector indicating which
additional components from the concurrent data frame should also be
plotted, if any. |
diveNo |
Numeric vector with dive numbers to plot. |
labels |
One of “phase.id” or “dive.phase”,
specifying whether to label observations based on the gross phase ID
of the "TDR" object, or based on each dive
phase, respectively. |
surface |
Logical indicating whether to plot surface readings. |
If called with the interact argument set to TRUE,
returns coordinates from the ZOC procedure (see zoc).
signature(x="TDR"): interactive graphical
display of the data, with zooming and panning capabilities.signature(x="TDRspeed"): As the TDR method,
but also plots the concurrent speed readings.signature(x="TDRcalibrate"): plot the TDR
object, labelling identified sections of it (see Usage).
Sebastian P. Luque spluque@gmail.com
data(divesTDR) divesTDR plotTDR(divesTDR, interact=FALSE) data(divesTDRcalibrate) divesTDRcalibrate plotTDR(divesTDRcalibrate, interact=FALSE) plotTDR(divesTDRcalibrate, diveNo=19:25, interact=FALSE) plotTDR(divesTDRcalibrate, labels="dive.phase", interact=FALSE)