Package: CooccurrenceAffinity 1.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 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>.

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

CooccurrenceAffinity_1.0.tar.gz
CooccurrenceAffinity_1.0.zip(r-4.5)CooccurrenceAffinity_1.0.zip(r-4.4)CooccurrenceAffinity_1.0.zip(r-4.3)
CooccurrenceAffinity_1.0.tgz(r-4.5-any)CooccurrenceAffinity_1.0.tgz(r-4.4-any)CooccurrenceAffinity_1.0.tgz(r-4.3-any)
CooccurrenceAffinity_1.0.tar.gz(r-4.5-noble)CooccurrenceAffinity_1.0.tar.gz(r-4.4-noble)
CooccurrenceAffinity_1.0.tgz(r-4.4-emscripten)CooccurrenceAffinity_1.0.tgz(r-4.3-emscripten)
CooccurrenceAffinity.pdf |CooccurrenceAffinity.html
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

On CRAN:

Conda:

4.39 score 26 stars 19 scripts 176 downloads 18 exports 33 dependencies

Last updated 2 years agofrom:37a2c58a18. Checks:3 OK, 6 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 15 2025
R-4.5-winNOTEMar 15 2025
R-4.5-macNOTEMar 15 2025
R-4.5-linuxNOTEMar 15 2025
R-4.4-winNOTEMar 15 2025
R-4.4-macNOTEMar 15 2025
R-4.4-linuxNOTEMar 15 2025
R-4.3-winOKMar 15 2025
R-4.3-macOKMar 15 2025

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

Dependencies:BiasedUrnclicolorspacecowplotfansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrR6RColorBrewerRcppreshaperlangscalestibbleutf8vctrsviridisLitewithr