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 05 Oct. 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

correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

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