Description Usage Arguments Details Value See Also
Compute hull metrics for pairs of temporally overlapping hulls of separate individuals
1 2 | lhs.to.add(lhs, id = "all", hs2.id = "all", maxdt = "auto",
save.hto = TRUE, status = TRUE)
|
lhs |
A LoCoH-hullset object |
id |
A character vector of the hullset ids to compute metrics for. Can also be |
hs2.id |
A character vector of the hullset ids to use as the comparison hullsets. Can also be |
maxdt |
The maximum difference in time (in seconds) for two hulls to be considered 'overlapping' in time. Can also be |
save.hto |
Whether to save the list of hull indices that temporally overlap in the hullset, T/F |
status |
Show status messages, T/F |
This will compute hull metrics for pairs of hulls from two individuals. This only works for a LoCoH-hullset object
that contains hulls from two or more individuals (id's). For each hull for individual A, for example,
it will identify the hulls in individual B that temporally overlap, and compute the mean centroid distance (hull metric name = to.mcd).
By default to.mcd is computed for all pairs of individuals, but you can specify specific pairs by passing values for id
and hs2.id
.
This metric is used for association analysis. You can use this metric for example to look for spatial and temporal patterns in how close individuals get to each other.
Other association metrics exist for spatially overlapping hulls (see lhs.so.add
).
A LoCoH-hullset object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.