spatsoc
:package: spatsoc is an R package for detecting spatial and temporal groups in GPS relocations, and measuring intragroup social dynamics. - GitHub - ropensci/spatsoc: :package: sp
One maintainer, one or two new collective-motion metrics per release, for two years straight
◆Recent moves
- 8mo ago
calc_* functions added; projection deprecated ahead of a spatial rework
Adds standalone calc_distance, calc_direction and calc_centroid functions plus a get_geometry helper, exposing as direct calculators what was previously reachable only through the edge_ and group_ wrappers. It also deprecates `projection` in favour of `crs` and adds assertions that thresholds and units agree — and states plainly that the checks and tests here are groundwork for a new spatial interface.
View source ↗ - 10mo ago
Edge zones and edge direction added; centroid NA handling fixed
Adds edge zones and edge direction to the dyadic measures, and fixes centroid calculations to return NA where dyadID or fusionID is itself NA rather than producing a value from incomplete grouping. The NA fix matters for anyone aggregating centroids across a tracking season.
View source ↗ - 11mo ago
Edge alignment metric added
Adds edge alignment, continuing the run of one-metric releases, alongside a namespace fix for missing pkg:: qualifiers. Small in size, but alignment is a distinct collective-motion measure from the direction work that preceded it.
View source ↗ - 1y ago
Leader edge delay added; units dependency moves to a CRAN release
Adds leader edge delay and pins the package to units 0.8-6, dropping the Remotes entry that had been sourcing it directly — the dependency moves from a development pin to a released requirement. The rest is maintenance: output naming for edge delay, forward/reverse handling, and documentation tidying.
View source ↗ - 1y ago
Directional correlation delay added; longlat direction bug fixed
Adds directional correlation delay, a lag-based measure of how one animal's heading follows another's. It also fixes a bracket typo in the longlat path of direction_step, which would have affected any direction computed from unprojected coordinates.
View source ↗ - 1y ago
Leadership and group-axis position measures added
Introduces the leadership measures — distance to leader, direction to leader, and position along the group axis — which shift the package from describing groups to describing structure within them. It also drops the startup message about the R-spatial evolution, an early marker of the coordinate-handling modernisation that resurfaces in 0.2.12.
View source ↗