Package: CooccurrenceAffinity 2.0.0

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 maximum likelihood estimator (alpha hat) were advanced in Mainali, Slud, et al, 2021 <doi:10.1126/sciadv.abj9204>. Four 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 bundled with the package.

Authors:Kumar Mainali [aut, cre], Eric Slud [aut]

CooccurrenceAffinity_2.0.0.tar.gz
CooccurrenceAffinity_2.0.0.zip(r-4.7-any)CooccurrenceAffinity_2.0.0.zip(r-4.6-any)CooccurrenceAffinity_2.0.0.zip(r-4.5-any)
CooccurrenceAffinity_2.0.0.tgz(r-4.6-any)CooccurrenceAffinity_2.0.0.tgz(r-4.5-any)
CooccurrenceAffinity_2.0.0.tar.gz(r-4.7-any)CooccurrenceAffinity_2.0.0.tar.gz(r-4.6-any)
CooccurrenceAffinity_2.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
CooccurrenceAffinity/json (API)

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

Bug tracker:https://github.com/kpmainali/cooccurrenceaffinity/issues

Datasets:
  • finches - Darwin’s finches presence–absence data

On CRAN:

Conda:

4.56 score 29 stars 25 scripts 339 downloads 18 exports 22 dependencies

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

TargetResultTimeFilesSyslog
linux-develOK112
source / vignettesOK153
linux-releaseOK115
macos-releaseOK173
macos-oldrelOK159
windows-develOK97
windows-releaseOK82
windows-oldrelOK66
wasm-releaseOK85

Exports:AcceptAffCIAcceptAffinaffinityaffinity2by2AlphIntsBisectCovrgCovrgPlotdataprepEHypMidPEHypQuIntlogLikExtHypMaxX.IntmidP.EHypminmaxAlpha.pFNCHMinX.IntML.Alphaplotgg

Dependencies:BiasedUrnclicowplotcpp11farverggplot2gluegtableisobandlabelinglifecycleplyrR6RColorBrewerRcppreshaperlangS7scalesvctrsviridisLitewithr