spatsoc: Group Animal Relocation Data by Spatial and Temporal Relationship and Measure Intragroup Social Dynamics

Detects spatial and temporal groups in GPS relocations (Robitaille et al. (2019) <doi:10.1111/2041-210X.13215>). It can be used to convert GPS relocations to gambit-of-the-group format to build proximity-based social networks, and perform data-stream randomization methods suitable for GPS data. Also provides measures of intragroup social dynamics including distance and direction to leaders, centroids and nearest neighbours.

Version: 0.2.13
Depends: R (≥ 3.4)
Imports: adehabitatHR (≥ 0.4.21), data.table (≥ 1.15.0), igraph, sf, lwgeom (≥ 0.2.15), CircStats, stats, units (≥ 0.8-6), rlang
Suggests: asnipe, knitr, markdown, move2, rmarkdown, s2, sftrack, testthat (≥ 2.1.0)
Published: 2026-04-27
DOI: 10.32614/CRAN.package.spatsoc
Author: Alec L. Robitaille ORCID iD [aut, cre], Quinn Webber ORCID iD [aut], Eric Vander Wal ORCID iD [aut]
Maintainer: Alec L. Robitaille <robit.alec at gmail.com>
BugReports: https://github.com/ropensci/spatsoc/issues
License: GPL-3 | file LICENSE
URL: https://docs.ropensci.org/spatsoc/, https://github.com/ropensci/spatsoc
NeedsCompilation: no
SystemRequirements: GDAL (>= 2.0.1), GEOS (>= 3.4.0), PROJ (>= 4.8.0), sqlite3
Citation: spatsoc citation info
Materials: NEWS
In views: Tracking
CRAN checks: spatsoc results

Documentation:

Reference manual: spatsoc.html , spatsoc.pdf
Vignettes: Geometry interface and spatial measures (source, R code)
Detecting interspecific interactions (source, R code)
Using distance based edge-list generating functions, dyad_id and fusion_id (source, R code)
Frequently asked questions about spatsoc (source, R code)
Introduction to spatsoc (source, R code)
Using spatsoc in social network analysis (source, R code)

Downloads:

Package source: spatsoc_0.2.13.tar.gz
Windows binaries: r-devel: not available, r-release: spatsoc_0.2.2.zip, r-oldrel: spatsoc_0.2.2.zip
macOS binaries: r-release (arm64): spatsoc_0.2.13.tgz, r-oldrel (arm64): spatsoc_0.2.13.tgz, r-release (x86_64): spatsoc_0.2.2.tgz, r-oldrel (x86_64): spatsoc_0.2.2.tgz
Old sources: spatsoc archive

Reverse dependencies:

Reverse imports: hwig

Linking:

Please use the canonical form https://CRAN.R-project.org/package=spatsoc to link to this page.