contact: Creating Contact and Social Networks

Process spatially- and temporally-discrete data into contact and social networks, and facilitate network analysis by randomizing individuals' movement paths and/or related categorical variables. To use this package, users need only have a dataset containing spatial data (i.e., latitude/longitude, or planar x & y coordinates), individual IDs relating spatial data to specific individuals, and date/time information relating spatial locations to temporal locations. The functionality of this package ranges from data "cleaning" via multiple filtration functions, to spatial and temporal data interpolation, and network creation and analysis. Functions within this package are not limited to describing interpersonal contacts. Package functions can also identify and quantify "contacts" between individuals and fixed areas (e.g., home ranges, water bodies, buildings, etc.). As such, this package is an incredibly useful resource for facilitating epidemiological, ecological, ethological and sociological research.

Version: 1.2.2
Depends: R (≥ 3.6.0)
Imports: ape (≥ 5.3), data.table (≥ 1.12.2), doParallel (≥ 1.0.15), foreach (≥ 1.4.8), geosphere (≥ 1.5-10), igraph (≥, lubridate (≥ 1.7.4), methods (≥ 3.6.0), parallel (≥ 3.6.0), raster (≥ 2.9-5), rgdal (≥ 1.4-4), rgeos (≥ 0.4-3), sf (≥ 0.7-4), sp (≥ 1.3-1), stats (≥ 3.6.0)
Suggests: knitr, rmarkdown
Published: 2020-04-13
Author: Trevor Farthing [aut, cre], Daniel Dawson [aut], Cristina Lanzas [ctb]
Maintainer: Trevor Farthing <tsfarthi at>
License: CC0
NeedsCompilation: no
Citation: contact citation info
CRAN checks: contact results


Reference manual: contact.pdf
Vignettes: Using_the_contact_package
Package source: contact_1.2.2.tar.gz
Windows binaries: r-prerelease:, r-release:, r-oldrel: not available
macOS binaries: r-prerelease: contact_1.2.2.tgz, r-release: contact_1.2.2.tgz, r-oldrel: not available
Old sources: contact archive


Please use the canonical form to link to this page.