kpmainali/CooccurrenceAffinity: Affinity in Co-Occurrence Data

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).

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version1.0.2
URL https://github.com/kpmainali/CooccurrenceAffinity
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("kpmainali/CooccurrenceAffinity")
kpmainali/CooccurrenceAffinity documentation built on July 3, 2025, 8:42 p.m.