Last chance! 50% off unlimited learning
Sale ends in
powered by
Calculate the centroid of a track.
centroid(x, ...)# S3 method for track_xy centroid(x, spatial = FALSE, ...)
# S3 method for track_xy centroid(x, spatial = FALSE, ...)
The centroid of a track as numeric vector if spatial = FALSE, otherwise as SpatialPoints.
spatial = FALSE
SpatialPoints
[track_xy, track_xyt] A track created with make_track.
[track_xy, track_xyt]
make_track
Further arguments, none implemented.
[logical(1)=FALSE] Whether or not to return a SpatialPoints-object.
[logical(1)=FALSE]
data(deer) centroid(deer)
Run the code above in your browser using DataLab