TDR or
TDRspeed object. createTDR creates an object of one of
these classes from other objects.readTDR(file, dateCol=1, timeCol=2, depthCol=3, speed=FALSE,
subsamp=5, concurrentCols=4:6,
dtformat="%d/%m/%Y %H:%M:%S", tz="GMT")
createTDR(time, depth, concurrentData, speed=FALSE, dtime, file)readTDR: Logical indicating whether speed is
included in one of the columns of concurrentCols.file with subsamp
interval, in s.strptime).POSIXct object with date and time readings for
each reading.If speed is TRUE and concurrentCols contains a column named speed or velocity, then an object of class TDRspeed is created, where speed is considered the column matching this name.
readTDR(system.file(file.path("data", "sealMK8.csv"),
package="diveMove"), speed=TRUE)Run the code above in your browser using DataLab