Skip to content

cmahalanobis

1.1.0Package record

Calculate Distance Measures for DataFrames

0packages depend
4.8Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 1,168 wordsVignettesNoNEWSNoCitation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
39
Examples that run
100%39 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

4.8K
CRAN downloads in the past year
Rank #11,163 · ~13/day · ~400/mo
Daily download trend is not available in this view yet.
33030 days
95790 days
4.8K1 year
Compare downloads with other packages →
Also on96 r2u12 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
License file reads as GPL-3.0 · Last activity 2026-10-09
Responsiveness
not measured
PracticesBeta

Checks run against github.com/hflavio12/cmahalanobis on 2026-10-22.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing cmahalanobis adds 1 package (1 with compiled code, 207 KB of source tarballs). Heaviest: matrixStats 207 KB.

Depends (0)
none
Imports (3)
statsgraphicsmatrixStats
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2024)
Releases (9)

Pick two releases to compare their code metrics.

  • 1.1.0Latest
    record
    2026-08-31 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.0
    record
    2025-09-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.0
    record
    2025-01-08 · diff ↗ ·
    added 27 exports
    cbhattacharyya, cbraycurtis, ccanberra, ccosine, chamming, chellinger, cjaccard, cminkowski, csorensendice, generate_report_cbhattacharyya, generate_report_cbraycurtis, generate_report_ccanberra, generate_report_ccosine, generate_report_chamming, generate_report_chellinger, generate_report_cjaccard, generate_report_cminkowski, generate_report_csorensendice, pvaluescbatt, pvaluescbrcu, pvaluesccanb, pvaluesccosi, pvalueschamm, pvalueschell, pvaluescjacc, pvaluescmink, pvaluescsore
  • 0.4.2
    record
    2024-09-24 · diff ↗
  • 0.4.1
    record
    2024-09-22 · diff ↗
  • 0.4.0
    record
    2024-09-16 · diff ↗ ·
    added 8 exports
    generate_report_cchebyshev, generate_report_ceuclide, generate_report_cmahalanobis, generate_report_cmanhattan, pvaluesccheb, pvaluesceucl, pvaluescmaha, pvaluescmanh
  • 0.3.0
    record
    2024-05-20 · diff ↗ ·
    added 3 exports
    cchebyshev, ceuclide, cmanhattan
  • 0.2.0
    record
    2024-05-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.0
    record
    2024-02-20
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2024-02-20
Total releases
9 / 2 yrs
License
GPL-3 OSI
Download size
82 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("cmahalanobis")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.2139/ssrn.4774700.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cmahalanobis version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy