extractDive-methods {diveMove} | R Documentation |
Extract data corresponding to a particular dive(s), referred to by number.
## S4 method for signature 'TDR, numeric, numeric': extractDive(obj, diveNo, id) ## S4 method for signature 'TDRcalibrate, numeric, ## missing': extractDive(obj, diveNo)
obj |
TDR object. |
diveNo |
Numeric vector or scalar with dive numbers to extract. |
id |
Numeric vector of dive numbers from where diveNo
should be chosen. |
An object of class TDR
or TDRspeed
.
Sebastian P. Luque spluque@gmail.com
data(divesTDR) divesTDR data(divesTDRcalibrate) divesTDRcalibrate diveX <- extractDive(divesTDR, 9, getDAct(divesTDRcalibrate, "dive.id")) plotTDR(diveX, interact=FALSE) diveX <- extractDive(divesTDRcalibrate, 5:10) plotTDR(diveX, interact=FALSE)