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 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

noisyr  
Noise Quantification in High Throughput Sequencing Output
Quantifies and removes technical noise from high-throughput sequencing data. Two approaches are use ...
Download / Learn more Package Citations See dependency  
dhReg  
Dynamic Harmonic Regression
Building and forecasting time series data with multiple seasonality using Dynamic Harmonic Regressio ...
Download / Learn more Package Citations See dependency  
kernelPSI  
Post-Selection Inference for Nonlinear Variable Selection
Different post-selection inference strategies for kernelselection as described in kernelPSI a Post-S ...
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  
dcov  
A Fast Implementation of Distance Covariance
Efficient methods for computing distance covariance and relevant statistics. See Sz ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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