The Schoener's ratio is a measure of time-autocorrelation in the data.
This ratio is computed as the squared mean distance between "neighbour"
relocations (t\^2) divided by the squared mean distance between the
relocations and their barycenter (r\^2). The theoretical value of this
ratio under the hypothesis of independance of the relocations is 2.
Swihart and Slade (1985) consider as neighbour two successive
relocations. However, the Schoener's ratio computed in this way makes
sense biologically only if the relocations are equally spaced in
time. However, as indicated by these authors, "such a data set
probably is the exception rather than the rule because many problems
may arise in taking a locational reading at a specified time".
In this function, we define as "neighbour" two relocations (not
necessarily successive relocations) separated by a time interval
comprised within the bounds specified in the vector keep
(in
seconds). For example, if keep = c(60, 300)
, all relocations
separated by a time interval comprised between 1 and 5 minutes are
considered in the computation. Thus, the total number of pairs of
relocations m taken into account in the computation may be larger than
the number of relocations n (m can be at most equal to n*(n-1)/2).