Package: manydist 0.4.3

manydist: Unbiased Distances for Mixed-Type Data

A comprehensive framework for calculating unbiased distances in datasets containing mixed-type variables (numerical and categorical). The package implements a general formulation that ensures multivariate additivity and commensurability, meaning that variables contribute equally to the overall distance regardless of their type, scale, or distribution. Supports multiple distance measures including Gower's distance, Euclidean distance, Manhattan distance, and various categorical variable distances such as simple matching, Eskin, occurrence frequency, and association-based distances. Provides tools for variable scaling (standard deviation, range, robust range, and principal component scaling), and handles both independent and association-based category dissimilarities. Implements methods to correct for biases that typically arise from different variable types, distributions, and number of categories. Particularly useful for cluster analysis, data visualization, and other distance-based methods when working with mixed data. Methods based on van de Velden et al. (2024) <doi:10.48550/arXiv.2411.00429> "Unbiased mixed variables distance".

Authors:Alfonso Iodice D'Enza [aut], Angelos Markos [aut, cre], Michel van de Velden [aut], Carlo Cavicchia [aut]

manydist_0.4.3.tar.gz
manydist_0.4.3.zip(r-4.5)manydist_0.4.3.zip(r-4.4)manydist_0.4.3.zip(r-4.3)
manydist_0.4.3.tgz(r-4.5-any)manydist_0.4.3.tgz(r-4.4-any)manydist_0.4.3.tgz(r-4.3-any)
manydist_0.4.3.tar.gz(r-4.5-noble)manydist_0.4.3.tar.gz(r-4.4-noble)
manydist_0.4.3.tgz(r-4.4-emscripten)manydist_0.4.3.tgz(r-4.3-emscripten)
manydist.pdf |manydist.html
manydist/json (API)

# Install 'manydist' in R:
install.packages('manydist', repos = c('https://amarkos.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • fifa_nl - FIFA 21 Player Data - Dutch League

On CRAN:

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

1.00 score 3 exports 89 dependencies

Last updated 8 days agofrom:94228bff2b. Checks:8 OK. Indexed: yes.

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

Exports:cdistmdistndist

Dependencies:bitbit64classclicliprclockclustercodetoolscpp11crayondata.tableDEoptimRdiagramdigestdiptestdistancesdplyrentropyfansifastDummiesflexmixforcatsfpcfurrrfuturefuture.applygenericsglobalsgluegowerhardhathmsipredkernlabKernSmoothlatticelavalifecyclelistenvlubridatemagrittrMASSMatrixmclustmodeltoolsnnetnumDerivparallellyphilentropypillarpkgconfigpoormanprabclusprettyunitsprodlimprogressprogressrpurrrR6RcppRcppArmadilloRcppGSLRcppParallelRcppZigguratreadrrecipesRfastrlangrobustbaserpartrsampleshapeslidersparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8vctrsvroomwarpwithr