Package: MigConnectivity 0.5.0

Jeffrey A. Hostetler

MigConnectivity: Estimate Migratory Connectivity for Migratory Animals

Allows the user to estimate transition probabilities for migratory animals between any two phases of the annual cycle, using a variety of different data types. Also quantifies the strength of migratory connectivity (MC), a standardized metric to quantify the extent to which populations co-occur between two phases of the annual cycle. Includes functions to estimate MC and the more traditional metric of migratory connectivity strength (Mantel correlation) incorporating uncertainty from multiple sources of sampling error. For cross-species comparisons, methods are provided to estimate differences in migratory connectivity strength, incorporating uncertainty. See Cohen et al. (2018) <doi:10.1111/2041-210X.12916>, Cohen et al. (2019) <doi:10.1111/ecog.03974>, Roberts et al. (2023) <doi:10.1002/eap.2788>, and Hostetler et al. (2025) <doi:10.1111/2041-210X.14467> for details on some of these methods.

Authors:Jeffrey A. Hostetler [cre, aut], Michael T. Hallworth [aut], Clark S. Rushing [ctb], Emily B. Cohen [ctb], Valentine Herrmann [ctb], Henry Stevens [ctb]

MigConnectivity_0.5.0.tar.gz
MigConnectivity_0.5.0.zip(r-4.7)MigConnectivity_0.5.0.zip(r-4.6)MigConnectivity_0.5.0.zip(r-4.5)
MigConnectivity_0.5.0.tgz(r-4.6-any)MigConnectivity_0.5.0.tgz(r-4.5-any)
MigConnectivity_0.5.0.tar.gz(r-4.7-any)MigConnectivity_0.5.0.tar.gz(r-4.6-any)
MigConnectivity_0.5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
MigConnectivity/json (API)

# Install 'MigConnectivity' in R:
install.packages('MigConnectivity', repos = c('https://smbc-nzp.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/smbc-nzp/migconnectivity/issues

Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3
Datasets:
  • abundExamples - Example relative abundance estimates from simulated data
  • OVENdata - Ovenbird light-level geolocator and GPS necessary data
  • projections - Map projections
  • sampleOriginDist - Example origin and target site positions and distances on a 2-D plane
  • sampleOriginN - Example origin site abundances and relative abundances
  • sampleOriginPos - Example origin and target site positions and distances on a 2-D plane
  • sampleOriginRelN - Example origin site abundances and relative abundances
  • samplePsis - Example transition probabilities (psis) between origin and target sites
  • sampleTargetDist - Example origin and target site positions and distances on a 2-D plane
  • sampleTargetPos - Example origin and target site positions and distances on a 2-D plane

On CRAN:

Conda:

jagscpp

6.32 score 8 stars 44 scripts 342 downloads 33 exports 48 dependencies

Last updated from:9b2b1c76f2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK168
source / vignettesOK211
linux-release-x86_64OK164
macos-release-arm64OK157
macos-oldrel-arm64OK198
windows-develOK106
windows-releaseOK105
windows-oldrelOK107
wasm-releaseOK182

Exports:calcMantelcalcMCcalcNMCcalcPsicalcStrengthcalcTransitiondiffCorrdiffManteldiffMCdiffStrengthdistFromPosestCorrestMantelestMCestNMCestPsiestStrengthestTransitiongetCMRexamplegetIsoMapisoAssignmodelCountDataJAGSreversePireversePsiRelAbundreverseTransitionreverseTransitionRelAbundsimCMRDatasimCountDatasimGLDatasimMovesimProbDatasimTelemetryDataweightAssign

Dependencies:abindbitopsbootcaToolsclassclassIntclicodaDBIe1071expmgenericsgeodistgluegplotsgtoolsKernSmoothlatticelifecyclemagrittrMASSMatrixmatrixcalcmsmmvtnormncfpillarpkgconfigproxyR2jagsR2WinBUGSRcpprjagsrlangRMarks2sfshapestringistringrsurvivalterratibbleunitsutf8vctrsVGAMwk

MigConnectivity package
Literature Cited

Last update: 2025-03-31
Started: 2016-03-09

MigConnectivity package (older functionality)
Introduction | Overview of Functions | Getting Started | Installing 'MigConnectivity' from GitHub | Functions | Examples | Utility functions for use in vignette | EXAMPLE 1 | calcMC - Calculate strength of migratory connectivity | Calculate MC between breeding and non-breeding regions | EXAMPLE 2 | estMC - Estimate strength of migratory connectivity incorporating location and other sampling uncertainty | EXAMPLE 3 | simMove Simulates position of animals by individual, season, year, and month | simMove Simulation of movement between breeding and non-breeding | Additional Examples / Scenarios | EXAMPLE 4 | Add the relative abundance breeding scenarios

Last update: 2024-01-12
Started: 2023-09-04

'MigConnectivity' package: isotope simulation
Ovenbird distribution | Crop template to distribution and mask with distribution | Generate target sites | Generate simulated data | Start of simulations

Last update: 2024-01-11
Started: 2018-07-05

Readme and manuals

Help Manual

Help pageTopics
Example relative abundance estimates from simulated dataabundExamples
Calculate Mantel correlation (rM) from points and/or distances.calcMantel
Migratory connectivity strength functioncalcMC calcStrength
Calculate NMC_XY, another type of migratory connectivity strengthcalcNMC
Calculate psi (transition probabilities between sites in two phases of the annual cycle)calcPsi calcTransition
Pairwise differences between two or more independent Mantel correlation estimatesdiffCorr diffMantel
Pairwise differences between two or more independent MC estimatesdiffMC diffStrength
Distance matrix from position matrixdistFromPos
Estimate Mantel correlation (rM) from geolocator, GPS, and/or raster data.estCorr estMantel
Estimate migratory connectivityestMC
Estimate NMC_XY, another type of migratory connectivity strengthestNMC
Estimate MC, migratory connectivity strengthestStrength
Estimate psi (transition probabilities between locations in two phases of the annual cycle)estPsi estTransition
Grab (from https://github.com/SMBC-NZP/MigConnectivity) example RMark transition probability estimates obtained from simulated datagetCMRexample
Get Isoscape map getIsoMapgetIsoMap
Generate probabilistic isotope assignmentsisoAssign
MigConnectivity: A package for quantifying migratory connectivity pattern and strength for migratory animalsMigConnectivity
Estimates population-level relative abundance from count datamodelCountDataJAGS
Ovenbird light-level geolocator and GPS necessary dataOVENdata
Basic plot function for estMigConnectivity objectsplot.estMigConnectivity
Basic plot function for the different isoAssign outputsplot.intrinsicAssign
Map projectionsprojections
Reverse transition probabilities and origin relative abundancereversePi reversePsiRelAbund reverseTransition reverseTransitionRelAbund
Example origin site abundances and relative abundancessampleOriginN sampleOriginRelN
Example origin and target site positions and distances on a 2-D planesampleOriginDist sampleOriginPos sampleTargetDist sampleTargetPos
Example transition probabilities (psis) between origin and target sitessamplePsis
Simulate capture-mark-reencounter (CMR) migratory movement datasimCMRData
Simulates Breeding Bird Survey-style count datasimCountData
Simulate geolocator (GL) migratory movement datasimGLData
Simulates position of birds by individual, season, year, and month.simMove
Simulate Dirichlet-based probability table datasimProbData
Simulate telemetry/GPS datasimTelemetryData
Calculate Weights for Isotope Assignments weightAssignweightAssign