Cr | R Documentation |
The function Cr
computes the correlation statistic for movement data as presented
in the paper by Shirabe (2006). The statistic is essentially a Pearson product-moment
correlation statistic formulated for use with movement data.
Cr(traj, traj2, tc = 0)
traj |
an object of the class |
traj2 |
(optional) same as traj, but for the second group of individuals. See |
tc |
time threshold for determining simultaneous fixes – see function: |
The function Cr
can be used to measure the level of dynamic interaction (termed correlation)
between a pair of simultaneously moving objects. The statistic is sensitive to
interaction in both movement direction (azimuth) and displacement, but is unable to
disentangle the effects of these components.
NOTE: This function is only appropriate with projected coordinates.
This function returns the Shirabe (2006) correlation statistic for two moving objects.
Shirabe, T. 2006. Correlation analysis of discrete motions. In: Raubal, M., Miller, HJ, Frank, AU, and Goodchild, M. eds. GIScience 2006, LNCS 4197. Berlin: Springer-Verlag; 370-382.
GetSimultaneous, DI
data(deer)
#tc = 7.5 minutes
Cr(deer, tc = 7.5*60)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.