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 06 Mar. 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

openxlsx  
Read, Write and Edit xlsx Files
Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, stylin ...
Download / Learn more Package Citations See dependency  
solitude  
An Implementation of Isolation Forest
Isolation forest is anomaly detection method introduced by the paper Isolation based Anomaly Detecti ...
Download / Learn more Package Citations See dependency  
EMVS  
The Expectation-Maximization Approach to Bayesian Variable Selection
An efficient expectation-maximization algorithm for fitting Bayesian spike-and-slab regularization p ...
Download / Learn more Package Citations See dependency  
mlr3viz  
Visualizations for 'mlr3'
Visualization package of the 'mlr3' ecosystem. It features plots for mlr3 objects such as tasks, le ...
Download / Learn more Package Citations See dependency  
lbfgs  
Limited-memory BFGS Optimization
A wrapper built around the libLBFGS optimization library by Naoaki Okazaki. The lbfgs package implem ...
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  

26,264

R Packages

223,360

Dependencies

70,244

Author Associations

26,265

Publication Badges

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