Package: cmahalanobis 0.5.0

cmahalanobis: Calculate Distance Measures for a Given List of Data Frames with Factors

It provides functions that calculate Mahalanobis distance, Euclidean distance, Manhattan distance, Chebyshev distance, Hamming distance, Canberra distance, Minkowski distance, Cosine distance, Bhattacharyya distance, Jaccard distance, Hellinger distance, Bray-Curtis distance, Sorensen-Dice distance between each pair of species in a list of data frames. These metrics 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_0.5.0.tar.gz
cmahalanobis_0.5.0.zip(r-4.5)cmahalanobis_0.5.0.zip(r-4.4)cmahalanobis_0.5.0.zip(r-4.3)
cmahalanobis_0.5.0.tgz(r-4.5-any)cmahalanobis_0.5.0.tgz(r-4.4-any)cmahalanobis_0.5.0.tgz(r-4.3-any)
cmahalanobis_0.5.0.tar.gz(r-4.5-noble)cmahalanobis_0.5.0.tar.gz(r-4.4-noble)
cmahalanobis_0.5.0.tgz(r-4.4-emscripten)cmahalanobis_0.5.0.tgz(r-4.3-emscripten)
cmahalanobis.pdf |cmahalanobis.html
cmahalanobis/json (API)

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

On CRAN:

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

1.78 score 352 downloads 39 exports 76 dependencies

Last updated 1 months agofrom:4212f8fa02. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 07 2025
R-4.5-winOKFeb 07 2025
R-4.5-macOKFeb 07 2025
R-4.5-linuxOKFeb 07 2025
R-4.4-winOKFeb 07 2025
R-4.4-macOKFeb 07 2025
R-4.3-winOKFeb 07 2025
R-4.3-macOKFeb 07 2025

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:backportsbitbit64bootbroomclicliprcodetoolscolorspacecpp11crayondplyrfansifarverforcatsforeachgenericsggplot2glmnetgluegtablehavenhmsisobanditeratorsjomolabelinglatticelifecyclelme4magrittrMASSMatrixmgcvmiceminqamitmlmunsellnlmenloptrnnetnumDerivordinalpanpillarpkgconfigplyrprettyunitsprogresspurrrR6rbibutilsRColorBrewerRcppRcppEigenRdpackreadrreformulasreshape2rlangrpartscalesshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsviridisLitevroomwithr

Readme and manuals

Help Manual

Help pageTopics
Calculate the Bray-Curtis distance for each species.cbraycurtis
Calculate the Canberra distance for each species.ccanberra
Calculate the Bhattacharyya distance for each species.cbhattacharyya ccbhattacharyya
Calculate the p_values matrix for each species, using Chebyshev distance as a base.cchebyshev
Calculate the Cosine distance of a factor in a dataframe.ccosine
Calculate the Euclidean distance of a factor in a dataframe.ceuclide
Calculate the Hamming distance of a factor in a dataframe.chamming
Calculate the Hellinger distance for each species.chellinger
Calculate the Jaccard distance for each species.cjaccard
Calculate the Mahalanobis distance for each species.cmahalanobis
Calculate a Manhattan distance of a factor in a dataframe.cmanhattan
Calculate the Minkowski distance of a factor in a dataframe.cminkowski
Calculate the Sorensen-Dice distance for each species.csorensendice
Generate a Microsoft Word document about the Bhattacharyya distance matrix and the p-values matrix with corresponding plots.generate_report_cbhattacharyya
Generate a Microsoft Word document about the Bray-Curtis distance matrix and the p-values matrix with corresponding plots.generate_report_cbraycurtis
Generate a Microsoft Word document about the Canberra distance matrix and the p-values matrix with corresponding plots.generate_report_ccanberra
Generate a Microsoft Word document about the Chebyshev distance matrix and the p-values matrix with corresponding plots.generate_report_cchebyshev
Generate a Microsoft Word document about the Cosine distance matrix and the p-values matrix with corresponding plots.generate_report_ccosine
Generate a Microsoft Word document about the Euclidean distance matrix and the p-values matrix with relative plots.generate_report_ceuclide
Generate a Microsoft Word document about the Hamming distance matrix and the p-values matrix with corresponding plots.generate_report_chamming
Generate a Microsoft Word document about the Hellinger distance matrix and the p-values matrix with corresponding plots.generate_report_chellinger
Generate a Microsoft Word document about the Jaccard distance matrix and the p-values matrix with corresponding plots.generate_report_cjaccard
Generate a Microsoft Word document about Mahalanobis distance matrix and p-values matrix with corresponding plots.generate_report_cmahalanobis
Generate a Microsoft Word document about the Manhattan distance and the p-values matrices with corresponding plots.generate_report_cmanhattan
Generate a Microsoft Word document about the Minkowski distance matrix and the p-values matrix with corresponding plots.generate_report_cminkowski
Generate a Microsoft Word document about the Sorensen-Dice distance matrix and the p-values matrix with corresponding plots.generate_report_csorensendice
Calculate the p_values matrix for each species, using Bhattacharyya distance as a base.pvaluescbatt
Calculate the p_values matrix for each species, using Bray-Curtis distance as a base.pvaluescbrcu
Calculate the p_values matrix for each species, using Canberra distance as a base.pvaluesccanb
Calculate the p_values matrix for each species, using Chebyshev distance as a base.pvaluesccheb
Calculate the p_values matrix for each species, using Cosine distance as a base.pvaluesccosi
Calculate the p_values matrix for each species, using the Euclidean distance as a base.pvaluesceucl
Calculate the p_values matrix for each species, using Hamming distance as a base.pvalueschamm
Calculate the p_values matrix for each species, using Hellinger distance as a base.pvalueschell
Calculate the p_values matrix for each species, using Jaccard distance as a base.pvaluescjacc
Calculate p_values matrix for each species, using Mahalanobis distance as a base.pvaluescmaha
Calculate the p_values matrix for each species, using Manhattan distance as a base.pvaluescmanh
Calculate the p_values matrix for each species, using Minkowski distance as a base.pvaluescmink
Calculate the p_values matrix for each species, using Sorensen-Dice distance as a base.pvaluescsore