modi
0.1.3Multivariate Outlier Detection and Imputation for Incomplete Survey Data
Overview
Algorithms for multivariate outlier detection when missing values occur. Algorithms are based on Mahalanobis distance or data depth. Imputation is based on the multivariate normal model or uses nearest neighbour donors. The algorithms take sample designs, in particular weighting, into account. The methods are described in Bill and Hulliger (2016) doi:10.17713/ajs.v45i1.86.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 99%
- Return-value docs
- 55%
- References docs
- 55%
Downloads
Repository
Stars over time
Forks over time
Releases over time
PRs over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/martinster/modi on 2026-07-19.
Dependencies
Code & Tests
- Cyclomatic complexity
- 4.5 median / 49 max
- Test cases
- 19 / 0.04 per code line
Test coverage
Line coverage
73%
Expression
73.6%
Tests / Examples
73.3% / 73% ex
Functions
22 22 exported
Complexity
11.2 avg / 49 max
Call network
22 nodes / 15 edges
Call graph
Open call graph →Lowest coverage
22 functions| Function | Cyclo | Coverage |
|---|---|---|
| sweep.operator exp | 2 | 54% |
| BEM exp | 49 | 57% |
| EA.dist exp | 11 | 66% |
| TRC exp | 38 | 70% |
| POEM exp | 31 | 72% |
| nz.min exp | 2 | 75% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| bushfire | data.frame | 38 × 5 | – |
| bushfire.weights | vector | – | – |
| bushfirem | data.frame | 38 × 5 | – |
| lival | data.frame | 6,671 × 26 | – |
| sepe | data.frame | 675 × 23 | – |
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.3Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.22023-03-14 · diff ↗
- 0.1.12023-03-03 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.1.02018-11-20
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-11-20
- Total releases
- 4 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 330 KB / 5 files
- Download size
- 454 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet