Package: cmahalanobis 1.1.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, Pearson, Kendall and Spearman dissimilarities and correlations (these last three on GitHub) 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.1.0.tar.gz
cmahalanobis_1.1.0.zip(r-4.7-any)cmahalanobis_1.1.0.zip(r-4.6-any)cmahalanobis_1.1.0.zip(r-4.5-any)
cmahalanobis_1.1.0.tgz(r-4.6-any)cmahalanobis_1.1.0.tgz(r-4.5-any)
cmahalanobis_1.1.0.tar.gz(r-4.7-any)cmahalanobis_1.1.0.tar.gz(r-4.6-any)
cmahalanobis_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
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'))

Bug tracker:https://github.com/hflavio12/cmahalanobis/issues

On CRAN:

Conda:

3.48 score 419 downloads 42 exports 1 dependencies

Last updated from:bb4c8bda12. Checks:7 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develERROR116
source / vignettesOK156
linux-releaseERROR112
macos-releaseERROR110
macos-oldrelERROR155
windows-develERROR84
windows-releaseERROR78
windows-oldrelERROR88
wasm-releaseOK79

Exports:cbhattacharyyacbraycurtisccanberracchebyshevccosineceuclidechammingchellingercjaccardckendallcmahalanobiscmanhattancminkowskicpearsoncsorensendicecspearmangenerate_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:matrixStats

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 Kendall correlation or dissimilarity for each pair of factors or for the index.ckendall
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 Pearson correlation or dissimilarity for each pair of factors or for the index.cpearson
Calculate the Sorensen-Dice dissimilarities for each pair of factors or for the index.csorensendice
Calculate the Spearman correlation or dissimilarity for each pair of factors or for the index.cspearman
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 distances 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 distances 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 dissimilarities 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 distances 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 distances 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 distances 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 distances 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 distances 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 dissimilarities/distances 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 dissimilarities as a base.pvaluescsore