Skip to content

manydist

0.5.0

Distance-Based Learning for Mixed-Type Data

0packages depend
2.9Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Alfonso Iodice D'EnzaFirst published 2025-02-127 releasesCRAN page ↗

Provides tools for constructing, computing, and using distance measures for numerical, categorical, and mixed-type data. The package implements a flexible framework in which continuous and categorical components can be combined under additive, commensurable, and association-aware specifications. Supported methods include classical distances such as Gower, Euclidean, Manhattan, and Mahalanobis-type distances; categorical dissimilarities such as simple matching, occurrence-frequency, and association-based measures; and mixed-type presets designed to reduce biases due to variable type, scale, distribution, redundancy, and number of categories. The package also provides scaling options, supervised and unsupervised distance constructions, leave-one-variable-out tools for distance-based variable importance, and integration with distance-based learning workflows such as nearest-neighbour prediction, partitioning around medoids, and spectral clustering. Methods are motivated by van de Velden, Iodice D'Enza, Markos, and Cavicchia (2026) doi:10.1080/10618600.2026.2680181 and related work on categorical and mixed-type dissimilarities.

Install

Health

CRAN checks
13OK
Slowest check: 4.6 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
29
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
63%
Documented parameters
100%
Return-value docs
92%
References docs
7%

Downloads

2.9K
CRAN downloads in the past year
Rank #16,845 · ~8/day · ~245/mo
Daily download trend is not available in this view yet.
16630 days
68690 days
2.9K1 year
Compare downloads with other packages →
Also on125 r2u12 autocran

Dependencies

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer
Authors (4)
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.5.0Latest
    2026-06-10 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.9
    2026-02-04 · diff ↗
  • 0.4.8
    2025-07-18 · diff ↗
  • 0.4.7
    2025-07-08 · diff ↗
  • 0.4.5
    2025-07-02 · diff ↗
  • 0.4.4
    2025-06-23 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.3
    2025-02-12
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-02-12
Total releases
7 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.5.0
Bundled data
12 KB / 1 file
Download size
35 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →