centroid {amt} | R Documentation |
Calculate the centroid of a track.
Description
Calculate the centroid of a track.
Usage
centroid(x, ...)
## S3 method for class 'track_xy'
centroid(x, spatial = FALSE, ...)
Arguments
x |
|
... |
Further arguments, none implemented. |
spatial |
|
Value
The centroid of a track as numeric vector if spatial = FALSE
, otherwise as SpatialPoints
.
Examples
data(deer)
centroid(deer)
[Package amt version 0.2.2.0 Index]