Package: cmahalanobis 1.0.0

cmahalanobis: Calculate Distance Measures for DataFrames

It provides functions that calculate Mahalanobis distance, Euclidean distance, Manhattan distance, Chebyshev distance, Hamming distance, Canberra distance, Minkowski dissimilarity (distance defined for p >= 1), Cosine dissimilarity, Bhattacharyya dissimilarity, Jaccard distance, Hellinger distance, Bray-Curtis dissimilarity, Sorensen-Dice dissimilarity between each pair of species in a list of data frames. These statistics are fundamental in various fields, such as cluster analysis, classification, and other applications of machine learning and data mining, where assessing similarity or dissimilarity between data is crucial. The package is designed to be flexible and easily integrated into data analysis workflows, providing reliable tools for evaluating distances in multidimensional contexts.

Authors:Flavio Gioia [aut, cre]

cmahalanobis_1.0.0.tar.gz
cmahalanobis_1.0.0.zip(r-4.7)cmahalanobis_1.0.0.zip(r-4.6)cmahalanobis_1.0.0.zip(r-4.5)
cmahalanobis_1.0.0.tgz(r-4.6-any)cmahalanobis_1.0.0.tgz(r-4.5-any)
cmahalanobis_1.0.0.tar.gz(r-4.7-any)cmahalanobis_1.0.0.tar.gz(r-4.6-any)
cmahalanobis_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cmahalanobis/json (API)

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

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 289 downloads 39 exports 25 dependencies

Last updated from:85693ce1aa. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK201
source / vignettesOK201
linux-release-x86_64OK205
macos-release-arm64OK160
macos-oldrel-arm64OK182
windows-develOK162
windows-releaseOK156
windows-oldrelOK147
wasm-releaseOK145

Exports:cbhattacharyyacbraycurtisccanberracchebyshevccosineceuclidechammingchellingercjaccardcmahalanobiscmanhattancminkowskicsorensendicegenerate_report_cbhattacharyyagenerate_report_cbraycurtisgenerate_report_ccanberragenerate_report_cchebyshevgenerate_report_ccosinegenerate_report_ceuclidegenerate_report_chamminggenerate_report_chellingergenerate_report_cjaccardgenerate_report_cmahalanobisgenerate_report_cmanhattangenerate_report_cminkowskigenerate_report_csorensendicepvaluescbattpvaluescbrcupvaluesccanbpvaluescchebpvaluesccosipvaluesceuclpvalueschammpvalueschellpvaluescjaccpvaluescmahapvaluescmanhpvaluescminkpvaluescsore

Dependencies:clicpp11farverggplot2gluegridExtragtableisobandlabelinglifecyclemagrittrmatrixStatsplyrR6RColorBrewerRcppreshape2rlangS7scalesstringistringrvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Calculate the Bhattacharyya dissimilarities for each pair of factors or for the index.cbhattacharyya
Calculate the Bray-Curtis dissimilarities for each pair of factors or for the index.cbraycurtis
Calculate the Canberra distances for each pair of factors or for the index.ccanberra
Calculate the Chebyshev distances for each pair of factors or for the index.cchebyshev
Calculate the Cosine dissimilarities for each pair of factors or for the index.ccosine
Calculate the Euclidean distances for each pair of factors or for the index.ceuclide
Calculate the Hamming distances for each pair of factors or for the index.chamming
Calculate the Hellinger distances for each pair of factors or for the index.chellinger
Calculate the Jaccard distances for each pair of factors or for the index.cjaccard
Calculate the Mahalanobis distances for each pair of factors or for the index.cmahalanobis
Calculate the Manhattan distances for each pair of factors or for the index.cmanhattan
Calculate the Minkowski distances for each pair of factors or for the index.cminkowski
Calculate the Sorensen-Dice dissimilarities for each pair of factors or for the index.csorensendice
Generate a Microsoft Word document about the Bhattacharyya dissimilarities matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cbhattacharyya
Generate a Microsoft Word document about the Bray-Curtis dissimilarities matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cbraycurtis
Generate a Microsoft Word document about the Canberra distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_ccanberra
Generate a Microsoft Word document about the Chebyshev distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cchebyshev
Generate a Microsoft Word document about the Cosine dissimilarities matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_ccosine
Generate a Microsoft Word document about the Euclidean distances matrix or matrices and the p-values matrix or matrices.generate_report_ceuclide
Generate a Microsoft Word document about the Hamming distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_chamming
Generate a Microsoft Word document about the Hellinger distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_chellinger
Generate a Microsoft Word document about the Jaccard distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cjaccard
Generate a Microsoft Word document about the Mahalanobis distances matrix or matrices and the p-values matrix or matrices.generate_report_cmahalanobis
Generate a Microsoft Word document about the Manhattan distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cmanhattan
Generate a Microsoft Word document about the Minkowski dissimilarities/distances matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_cminkowski
Generate a Microsoft Word document about the Sorensen-Dice dissimilarity matrix or matrices (two or more) and the p-values matrix or matrices (two or more).generate_report_csorensendice
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Bhattacharyya dissimilarities as a base.pvaluescbatt
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Bray-Curtis dissimilarity as a base.pvaluescbrcu
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Canberra distance as a base.pvaluesccanb
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Chebyshev distance as a base.pvaluesccheb
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Cosine dissimilarity as a base.pvaluesccosi
Calculate the p_values matrix or matrices (two or more) for each pair of factors inside variable or variables (two or more), using Euclidean distance as a base.pvaluesceucl
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Hamming distance as a base.pvalueschamm
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Hellinger distances as a base.pvalueschell
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Jaccard distance as a base.pvaluescjacc
Calculate the p_values matrix or matrices (two or more) for each pair of factors inside variable or variables (two or more), using Mahalanobis distance as a base.pvaluescmaha
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Manhattan distance as a base.pvaluescmanh
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Minkowski dissimilarity/distance as a base.pvaluescmink
Calculate the p_values matrix or matrices (two or more) for each factor inside variable or variables (two or more), using Sorensen-Dice dissimilarity as a base.pvaluescsore