ClustImpute
0.2.4K-Means Clustering with Build-in Missing Data Imputation
Overview
This k-means algorithm is able to cluster data with missing values and as a by-product completes the data set. The implementation can deal with missing values in multiple variables and is computationally efficient since it iteratively uses the current cluster assignment to define a plausible distribution for missing value imputation. Weights are used to shrink early random draws for missing values (i.e., draws based on the cluster assignments after few iterations) towards the global mean of each feature. This shrinkage slowly fades out after a fixed number of iterations to reflect the increasing credibility of cluster assignments. See the vignette for details.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0811 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-1012 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Dependencies
Code & Tests
- Cyclomatic complexity
- 2.0 median / 13 max
- Test cases
- 25 / 0.56 per code line
Test coverage
Line coverage
100%
Expression
100.0%
Tests / Examples
100.0% / 62% ex
Functions
8 4 exported
Complexity
3.5 avg / 13 max
Call network
8 nodes / 1 edges
Call graph
Open call graph →Lowest coverage
8 functions| Function | Cyclo | Coverage |
|---|---|---|
| ClustImpute exp | 13 | 100% |
| default_wf exp | 1 | 100% |
| miss_sim exp | 3 | 100% |
| var_reduction exp | 1 | 100% |
| check_replace_dups | 3 | 100% |
| plot.kmeans_ClustImpute | 5 | 100% |
People & History
Author records are not tracked yet for this package.
7 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.4Latest
- unarchivedReturned to CRAN2021-05-31
- RR 4.1.0 released · 2021-05-18
- archivedRemoved from CRAN2021-04-28check problems were not corrected in time Suggests: packages not used conditionally
- 0.2.02021-03-21 · diff ↗
- 0.1.72021-01-06 · diff ↗
- 0.1.62020-12-12 · diff ↗
- 0.1.52020-07-26 · diff ↗
- 0.1.42020-05-11 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.32019-08-01
Show 1 earlier events
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-08-01
- Total releases
- 7 / 7 yrs
- License
- GPL-3 OSI
- Download size
- 765 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet