Package: RelativeDistClust 0.1.0

RelativeDistClust: Clustering with a Novel Non Euclidean Relative Distance

Using the novel Relative Distance to cluster datasets. Implementation of a clustering approach based on the k-means algorithm that can be used with any distance. In addition, implementation of the Hartigan and Wong method to accommodate alternative distance metrics. Both methods can operate with any distance measure, provided a suitable method is available to compute cluster centers under the chosen metric. Additionally, the k-medoids algorithm is implemented, offering a robust alternative for clustering without the need of computing cluster centers under the chosen metric. All three methods are designed to support Relative distances, Euclidean distances, and any user-defined distance functions. The Hartigan and Wong method is described in Hartigan and Wong (1979) <doi:10.2307/2346830> and an explanation of the k-medoids algorithm can be found in Reynolds et al (2006) <doi:10.1007/s10852-005-9022-1>.

Authors:Irene Creus Martí [aut, cre]

RelativeDistClust_0.1.0.tar.gz
RelativeDistClust_0.1.0.zip(r-4.7)RelativeDistClust_0.1.0.zip(r-4.6)RelativeDistClust_0.1.0.zip(r-4.5)
RelativeDistClust_0.1.0.tgz(r-4.6-any)RelativeDistClust_0.1.0.tgz(r-4.5-any)
RelativeDistClust_0.1.0.tar.gz(r-4.7-any)RelativeDistClust_0.1.0.tar.gz(r-4.6-any)
RelativeDistClust_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
RelativeDistClust/json (API)

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

On CRAN:

Conda:

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

1.00 score 463 downloads 33 exports 124 dependencies

Last updated from:09779eaa93. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK159
source / vignettesOK236
linux-release-x86_64OK153
macos-release-arm64OK152
macos-oldrel-arm64OK137
windows-develOK121
windows-releaseOK101
windows-oldrelOK98
wasm-releaseOK144

Exports:add_unique_numbersadd_unique_numbers2AitchisonDistanceBrayCurtisDissimilaritycenters_function_meancenters_function_RelativeDistanceClustPlotd_i_other_groupDaviesBouldinIndexDist_IC1_IC2DistanceBetweenGroupsDistanceSameGroupDosMinimosDunnIndexECDentroClusterECDentroCluster3encontrar_componenteEuclideandistanceHartigan_and_WongHartigan_and_Wong_totalinit_centers_hwinit_centers_randomkmedois_distanceManhattanDistanceNECNEC_totalNumber_of_failesRelativeDistanceSilhouetteStep4Step6to_minimizevector_a_lista

Dependencies:abindbackportsbase64encbayesmbootbroombslibcachemcarcarDatacliclustercolorspacecompositionscorrplotcowplotcpp11crosstalkdendextendDEoptimRDerivdigestdoBydplyrDTellipseemmeansestimabilityevaluatefactoextraFactoMineRfarverfastmapflashClustfontawesomeforecastFormulafracdifffsgenericsggplot2ggpubrggrepelggsciggsignifgluegridExtragtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevalleapslifecyclelme4lmtestmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmultcompViewmvtnormnlmenloptrnnetnumDerivotelpbkrtestpillarpkgconfigpolynompromisesproxypurrrquantregR6rappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangrmarkdownrobustbaserstatixS7sassscalesscatterplot3dSparseMstringistringrsurvivaltensorAtibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisviridisLitewithrxfunyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Add values to a vector if they are not already in itadd_unique_numbers
Add one value to a vector if it is not already thereadd_unique_numbers2
Aitchison distanceAitchisonDistance
Bray-Curtis dissimilarityBrayCurtisDissimilarity
Center of a cluster using the meancenters_function_mean
Center of a cluster when the Relative distance is used.centers_function_RelativeDistance
Plotting the clustring resultsClustPlot
Distance between a point and a groupd_i_other_group
Davies-Bouldin indexDaviesBouldinIndex
Finding IC1 and IC2 from a distance matrixDist_IC1_IC2
Distance between groupsDistanceBetweenGroups
Distance between points in the same groupDistanceSameGroup
Finding the two smallest values for each row of a matrixDosMinimos
Dunn's indexDunnIndex
Sum of squared errors within the clusterECDentroCluster
Sum of errors within the clusterECDentroCluster3
Finding the component in the list that contains a valueencontrar_componente
Euclidean distanceEuclideandistance
Flexibilization of the Hartigan and Wong algorithmHartigan_and_Wong
Hartigan and Wong algorithmHartigan_and_Wong_total
Initializing the centersinit_centers_hw
Initializing the centersinit_centers_random
K-Medoidskmedois_distance
Manhattan distanceManhattanDistance
Non Euclidean Algorithm to ClusterNEC
NEC algorithmNEC_total
Comparison of groupingsNumber_of_failes
Relative DistanceRelativeDistance
SilhouetteSilhouette
Step 4 of the Hartigan and Wong algorithmStep4
Step 6 of the Hartigan and Wong algorithmStep6
Sum of the distance between the points in a group and a given center.to_minimize
Vector to listvector_a_lista