.diveIndices(diveID, diveNo)
.getInterval(time)
.speedStats(x, vdist)
.night(time, sunrise.time, sunset.time)
.rleActivity(time, act, interval)
.speedCol(x)diveID.POSIXct object representing time..speedStats, a matrix with a dive's section data
(time, speed). A single dive's data, a 3-col matrix with time,
depth, and speed. For .speedCol, a data frame where names are
searched for strings matching .speedNamesvdist is missing, then it's all horizontal movements (no
angles).plotTD.time..diveIndices returns a numeric vector with the indices of dives
(and their beginning/end indices) in diveID. .getInterval returns a scalar, the mode of intervals between
time readings.
.speedStats returns a 3-column matrix with total distance, mean
speed, and angle for a section of a dive.
.night returns a list with sunrise and sunset times for dates
in time.
.speedCol returns column number where speed is located in x.
.rleActivity returns a list with components:
act into different periods of
activity. .speedNames is a character vector with possible names for a
speed vector.
.rleActivity takes a factor indicating different activity
phases, their associated time, and the sampling interval to return a
factor uniquely identifying each phase of activity, i.e. labelling
them. In addition, it returns the duration of each phase, and their
beginning and end times.