Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

centroid

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

[track_xy, track_xyt]
A track created with make_track.

...

Further arguments, none implemented.

spatial

[logical(1)=FALSE]
Whether or not to return a SpatialPoints-object.

Examples

data(deer)
centroid(deer)

amt

Animal Movement Tools

v0.1.4
GPL-3
Authors
Johannes Signer [aut, cre], Brian Smith [ctb], Bjoern Reineking [ctb], Ulrike Schlaegel [ctb], John Fieberg [ctb], Scott LaPoint [dtc]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.