Calculate the centroid of a track.
centroid(x, ...)# S3 method for track_xy
centroid(x, spatial = FALSE, ...)
[track_xy, track_xyt]
A track created with make_track
.
Further arguments, none implemented.
[logical(1)=FALSE]
Whether or not to return a SpatialPoints
-object.
# NOT RUN {
data(deer)
centroid(deer)
# }
Run the code above in your browser using DataLab