centroid {amt} | R Documentation |
Calculate the centroid of a track.
centroid(x, ...)
## S3 method for class 'track_xy'
centroid(x, spatial = FALSE, ...)
x |
|
... |
Further arguments, none implemented. |
spatial |
|
The centroid of a track as numeric vector if spatial = FALSE
, otherwise as SpatialPoints
.
data(deer)
centroid(deer)