Computes a novel metric of affinity between two entities based on their co-occurrence (using binary presence/absence data). The metric and its MLE, alpha hat, were advanced in Mainali, Slud, et al, 2021 <doi:10.1126/sciadv.abj9204>. Various types of confidence intervals and median interval were developed in Mainali and Slud, 2022 <doi:10.1101/2022.11.01.514801>. The 'finches' dataset is now bundled internally (no longer pulled via the cooccur package, which has been dropped).
| Version: | 1.0.2 | 
| Depends: | R (≥ 4.1), BiasedUrn (≥ 2.0.9) | 
| Imports: | cowplot, ggplot2, plyr, reshape | 
| Published: | 2025-06-27 | 
| DOI: | 10.32614/CRAN.package.CooccurrenceAffinity | 
| Author: | Kumar Mainali [aut, cre], Eric Slud [aut] | 
| Maintainer: | Kumar Mainali <kpmainali at gmail.com> | 
| BugReports: | https://github.com/kpmainali/CooccurrenceAffinity/issues | 
| License: | MIT + file LICENSE | 
| URL: | https://github.com/kpmainali/CooccurrenceAffinity | 
| NeedsCompilation: | no | 
| Materials: | README, NEWS | 
| CRAN checks: | CooccurrenceAffinity results | 
| Reference manual: | CooccurrenceAffinity.html , CooccurrenceAffinity.pdf | 
| Package source: | CooccurrenceAffinity_1.0.2.tar.gz | 
| Windows binaries: | r-devel: CooccurrenceAffinity_1.0.2.zip, r-release: CooccurrenceAffinity_1.0.2.zip, r-oldrel: CooccurrenceAffinity_1.0.2.zip | 
| macOS binaries: | r-release (arm64): CooccurrenceAffinity_1.0.2.tgz, r-oldrel (arm64): CooccurrenceAffinity_1.0.2.tgz, r-release (x86_64): CooccurrenceAffinity_1.0.2.tgz, r-oldrel (x86_64): CooccurrenceAffinity_1.0.2.tgz | 
| Old sources: | CooccurrenceAffinity archive | 
| Reverse suggests: | SEraster | 
Please use the canonical form https://CRAN.R-project.org/package=CooccurrenceAffinity to link to this page.