Other packages > Find by keyword >

Kmedians  

K-Medians
View on CRAN: Click here


Download and install Kmedians package within the R console
Install from CRAN:
install.packages("Kmedians")

Install from Github:
library("remotes")
install_github("cran/Kmedians")

Install by package version:
library("remotes")
install_version("Kmedians", "2.2.0")



Attach the package and use:
library("Kmedians")
Maintained by
Antoine Godichon-Baggioni
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-09-06
Latest Update: 2023-12-18
Description:
Online, Semi-online, and Offline K-medians algorithms are given. For both methods, the algorithms can be initialized randomly or with the help of a robust hierarchical clustering. The number of clusters can be selected with the help of a penalized criterion. We provide functions to provide robust clustering. Function gen_K() enables to generate a sample of data following a contaminated Gaussian mixture. Functions Kmedians() and Kmeans() consists in a K-median and a K-means algorithms while Kplot() enables to produce graph for both methods. Cardot, H., Cenac, P. and Zitt, P-A. (2013). "Efficient and fast estimation of the geometric median in Hilbert spaces with an averaged stochastic gradient algorithm". Bernoulli, 19, 18-43. . Cardot, H. and Godichon-Baggioni, A. (2017). "Fast Estimation of the Median Covariation Matrix with Application to Online Robust Principal Components Analysis". Test, 26(3), 461-480 . Godichon-Baggioni, A. and Surendran, S. "A penalized criterion for selecting the number of clusters for K-medians" Vardi, Y. and Zhang, C.-H. (2000). "The multivariate L1-median and associated data depth". Proc. Natl. Acad. Sci. USA, 97(4):1423-1426. .
How to cite:
Antoine Godichon-Baggioni (2022). Kmedians: K-Medians. R package version 2.2.0, https://cran.r-project.org/web/packages/Kmedians. Accessed 25 Aug. 2026.
Previous versions and publish date:
0.1.0 (2022-09-06 08:10), 0.2.0 (2022-09-15 11:00), 1.2.0 (2022-11-15 23:00), (2026-07-09 08:07)
Other packages that cited Kmedians R package
View Kmedians citation profile
Other R packages that Kmedians depends, imports, suggests or enhances
Complete documentation for Kmedians
Functions, R codes and Examples using the Kmedians R package
Some associated functions: Kmeans . Kmedians-package . Kmedians . Kplot . gen_K . 
Some associated R codes: Final.R .  Full Kmedians package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  
commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA