Usage
## S3 method for class 'POSIXt,numeric':
plotTDR(x, y, concurVars=NULL, xlim=NULL, depth.lim=NULL,
xlab="time (dd-mmm hh:mm)", ylab.depth="depth (m)",
concurVarTitles=deparse(substitute(concurVars)),
xlab.format="%d-%b %H:%M", sunrise.time="06:00:00",
sunset.time="18:00:00", night.col="gray60",
dry.time=NULL, phase.factor=NULL, interact=TRUE, key=TRUE,
cex.pts=0.4, ...)
## S3 method for class 'TDR,missing':
plotTDR(x, y, concurVars, concurVarTitles, \ldots)
## S3 method for class 'TDRcalibrate,missing':
plotTDR(x, y, what=c("phases", "dive.model"),
diveNo=seq(max(getDAct(x, "dive.id"))), ...)Arguments
y
numeric vector with depth in m.
concurVars
matrix with additional variables in each column to
plot concurrently with depth. For the (TDR,missing)
and (TDRcalibrate,missing) methods, a
character xlim
POSIXct or numeric vector of length 2, with lower
and upper limits of time to be plotted.
depth.lim
numeric vector of length 2, with the lower and upper
limits of depth to be plotted.
xlab, ylab.depth
character strings to label the corresponding
y-axes.
concurVarTitles
character vector of titles to label each new
variable given in concurVars.
xlab.format
character: format string for formatting the x axis;
see strptime. sunrise.time, sunset.time
character string with time of sunrise
and sunset, respectively, in 24 hr format. This is used for shading
night time.
night.col
color for shading night time.
dry.time
subset of time corresponding to observations
considered to be dry.
phase.factor
factor dividing rows into sections.
interact
logical: whether to provide interactive tcltk controls
and access to the associated ZOC functionality.
key
logical: whether to draw a key.
cex.pts
Passed to points to set the relative size
of points to plot (if any). ...
For the (POSIXt,numeric) method, arguments passed
to par for all methods; useful defaults las=1,
bty="n", and mar (the latter depending on whether
diveNo
numeric vector or scalar with dive numbers to plot.
what
character: what aspect of the TDRcalibrate
to plot, which selects the method to use for plotting.