Learn R Programming

amt (version 0.1.2)

from_to: Duration of tracks

Description

Function that returns the start (from), end (to), and the duration (from_to) of a track.

Usage

from_to(x, ...)

# S3 method for track_xyt from_to(x, ...)

from(x, ...)

# S3 method for track_xyt from(x, ...)

to(x, ...)

# S3 method for track_xyt to(x, ...)

Arguments

x

[track_xy, track_xyt] A track created with make_track.

...

Further arguments, none implemented.

Examples

Run this code
# NOT RUN {
data(deer)
from(deer)
to(deer)
from_to(deer)
# }

Run the code above in your browser using DataLab