The argument d
should be an object of class "dive"
representing a dive profile.
This command extracts the part of the dive
profile that starts at time t0
minutes and ends at
time t1
minutes, and returns it as
an object of class "dive"
. The clock is adjusted so that the
new dive profile starts at time 0
and ends at time t1-t0
.
Note that the resulting dive profile does not start and end at the surface:
the dive profile is
simply chopped off at elapsed time t1
. If you want the dive
to start and end at the surface, execute dive(chop.dive(d, t0, t1))
.