The synchrony package provides tools for computing spatial, temporal, and spatiotemporal statistics in R. All of the functions are documented in the manual, so I will highlight just a few here. One of the primary objectives of the synchrony package is to quantify how ecological and environmental patterns decay with distance. To that end, the synchrony package allows users to compute semivariograms and correlograms on univariate datasets using a suite of metrics (e.g., covariance, correlation, semivariance). Users can also fit a number of different models to empirical variograms.
The figure above shows how the semivariance of upwelling currents along the West coast of the US varies with lag distance. The gaussian model appears to be the best based on AIC (with the spherical model following closely behind). Cross-correlograms can also be used to determine the spatial relationship between two variables. Finally, variograms and cross-variograms can be calculated for either univariate (single observation at each location) or multivariate (multiple observations at each location) datasets. Multivariate correlograms have been used extensively to quantify spatial synchrony in ecology.
The figure above shows that the spatial synchrony of mussel cover is nonlinear (periodic) whereas that of upwelling is linear. Statistically significant values are computed via Monte Carlo randomizations and indicated with filled circles.
To download the development version of the package, visit the download page or type the following at the R command line:
Once this package makes it out of beta, it will be submitted to CRAN and you will be able to download the release version by typing the following at the R command line:
- Bjornstad, O. N., and W. Falck. 2001. Nonparametric spatial covariance functions: Estimation and testing. Environmental and Ecological Statistics
- Bjornstad, O. N., R. A. Ims, and X. Lambin. 1999. Spatial population dynamics: analyzing patterns and processes of population synchrony. Trends in Ecology & Evolution 14:427-432.
- Buonaccorsi, J. P., J. S. Elkinton, S. R. Evans, and A. M. Liebhold. 2001. Measuring and testing for spatial synchrony. Ecology 82:1668-1679.
- Cazelles, B., and L. Stone. 2003. Detection of imperfect population synchrony in an uncertain world. Journal of Animal Ecology 72:953-968.
- Fortin, M. J., and M. R. T. Dale. 2005. Spatial Analysis: A Guide for Ecologists. Cambridge University Press.
- Gouhier, T. C., and F. Guichard. 2007. Local disturbance cycles and the maintenance of spatial heterogeneity across scales in marine metapopulations. Ecology 88:647-657.
- Gouhier, T. C., F. Guichard, and A. Gonzalez. 2010. Synchrony and stability of food webs in metacommunities. The American Naturalist 175:E16-E34.
- Gouhier, T. C., F. Guichard, and B. A. Menge. 2010. Ecological processes can synchronize marine population dynamics over continental scales. Proceedings of the National Academy of Sciences 107:8281-8286.
- Loreau, M., and C. de Mazancourt. 2008. Species synchrony and its drivers: Neutral and nonneutral community dynamics in fluctuating environments. The American Naturalist 172:E48-E66.
- Vasseur, D. A. 2007. Environmental colour intensifies the Moran effect when population dynamics are spatially heterogeneous. Oikos 116:1726-1736.
- Zar, J. H. 1999. Biostatistical Analysis, Fourth edition. Prentice-Hall, Inc., Upper Saddle River, NJ.