Learn R Programming

cmahalanobis (version 0.5.0)

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

Description

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.

Copy Link

Version

Install

install.packages('cmahalanobis')

Monthly Downloads

183

Version

0.5.0

License

GPL-3

Maintainer

Flavio Gioia

Last Published

January 8th, 2025

Functions in cmahalanobis (0.5.0)

cchebyshev

Calculate the p_values matrix for each species, using Chebyshev distance as a base.
generate_report_chamming

Generate a Microsoft Word document about the Hamming distance matrix and the p-values matrix with corresponding plots.
ccbhattacharyya

Calculate the Bhattacharyya distance for each species.
cjaccard

Calculate the Jaccard distance for each species.
cmahalanobis

Calculate the Mahalanobis distance for each species.
csorensendice

Calculate the Sorensen-Dice distance for each species.
generate_report_cbhattacharyya

Generate a Microsoft Word document about the Bhattacharyya distance matrix and the p-values matrix with corresponding plots.
cbraycurtis

Calculate the Bray-Curtis distance for each species.
generate_report_cminkowski

Generate a Microsoft Word document about the Minkowski distance matrix and the p-values matrix with corresponding plots.
chamming

Calculate the Hamming distance of a factor in a dataframe.
generate_report_csorensendice

Generate a Microsoft Word document about the Sorensen-Dice distance matrix and the p-values matrix with corresponding plots.
chellinger

Calculate the Hellinger distance for each species.
pvaluesccosi

Calculate the p_values matrix for each species, using Cosine distance as a base.
pvaluesceucl

Calculate the p_values matrix for each species, using the Euclidean distance as a base.
generate_report_ceuclide

Generate a Microsoft Word document about the Euclidean distance matrix and the p-values matrix with relative plots.
ccanberra

Calculate the Canberra distance for each species.
ccosine

Calculate the Cosine distance of a factor in a dataframe.
generate_report_cchebyshev

Generate a Microsoft Word document about the Chebyshev distance matrix and the p-values matrix with corresponding plots.
ceuclide

Calculate the Euclidean distance of a factor in a dataframe.
pvaluescmink

Calculate the p_values matrix for each species, using Minkowski distance as a base.
generate_report_cbraycurtis

Generate a Microsoft Word document about the Bray-Curtis distance matrix and the p-values matrix with corresponding plots.
pvaluescmanh

Calculate the p_values matrix for each species, using Manhattan distance as a base.
generate_report_ccanberra

Generate a Microsoft Word document about the Canberra distance matrix and the p-values matrix with corresponding plots.
pvaluesccanb

Calculate the p_values matrix for each species, using Canberra distance as a base.
pvaluescbatt

Calculate the p_values matrix for each species, using Bhattacharyya distance as a base.
pvaluesccheb

Calculate the p_values matrix for each species, using Chebyshev distance as a base.
generate_report_ccosine

Generate a Microsoft Word document about the Cosine distance matrix and the p-values matrix with corresponding plots.
pvaluescbrcu

Calculate the p_values matrix for each species, using Bray-Curtis distance as a base.
generate_report_cmahalanobis

Generate a Microsoft Word document about Mahalanobis distance matrix and p-values matrix with corresponding plots.
pvaluescsore

Calculate the p_values matrix for each species, using Sorensen-Dice distance as a base.
cmanhattan

Calculate a Manhattan distance of a factor in a dataframe.
pvalueschamm

Calculate the p_values matrix for each species, using Hamming distance as a base.
cminkowski

Calculate the Minkowski distance of a factor in a dataframe.
generate_report_chellinger

Generate a Microsoft Word document about the Hellinger distance matrix and the p-values matrix with corresponding plots.
generate_report_cjaccard

Generate a Microsoft Word document about the Jaccard distance matrix and the p-values matrix with corresponding plots.
pvaluescjacc

Calculate the p_values matrix for each species, using Jaccard distance as a base.
pvaluescmaha

Calculate p_values matrix for each species, using Mahalanobis distance as a base.
pvalueschell

Calculate the p_values matrix for each species, using Hellinger distance as a base.
generate_report_cmanhattan

Generate a Microsoft Word document about the Manhattan distance and the p-values matrices with corresponding plots.