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 Jun. 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)
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

crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
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  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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