Skip to content

kmodR

0.2.0

K-Means with Simultaneous Outlier Detection

0packages depend
2.8Kdownloads / year
11.3%test coverage
13/13checks pass

Overview

About
Maintained by David Charles HoweFirst published 2015-03-262 releasesCRAN page ↗

An implementation of the 'k-means--' algorithm proposed by Chawla and Gionis, 2013 in their paper, "k-means-- : A unified approach to clustering and outlier detection. SIAM International Conference on Data Mining (SDM13)", doi:10.1137/1.9781611972832.21 and using 'ordering' described by Howe, 2013 in the thesis, Clustering and anomaly detection in tropical cyclones". Useful for creating (potentially) tighter clusters than standard k-means and simultaneously finding outliers inexpensively in multidimensional space.

Install

Health

CRAN checks
13OK
Slowest check: 44 s · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.19
11.3%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 149 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.8K
CRAN downloads in the past year
Rank #16,960 · ~8/day · ~236/mo
Daily download trend is not available in this view yet.
19330 days
68390 days
2.8K1 year
Compare downloads with other packages →
Also on91 r2u11 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 418 (82%)Rd 89 (18%)
Code characteristics
Cyclomatic complexity
1.0 median / 5 max
Test cases
6 / 0.19 per code line

Test coverage

Line coverage

11%

Expression

13.0%

Tests / Examples

11.3% / 77% ex

Functions

15 1 exported

Complexity

1.7 avg / 5 max

Call network

15 nodes / 15 edges

Loading call graph…

Lowest coverage

15 functions
FunctionCycloCoverage
kmod exp50%
converged40%
delta_C10%
get_C_sizes10%
get_Ci10%
get_c10%

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0Latest
    2022-05-12 · current release · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.1.0
    2015-03-26
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2015-03-26
Total releases
2 / 11 yrs
License
GPL-3 OSI
Download size
11 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →