R Observatory
Search

Multivariate Outlier Detection and Imputation for Incomplete Survey Data

install.packages("modi")
CRAN 30-day downloads, method
568−9.4% down on the 30 days before, the worse direction
Test coverage, method
73%of lines run by tests

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

Maintainer
Beat Hulliger
Latest release
22 Aug 2025
First release
20 Nov 2018

Compare with another package

More details
Releases
4
Needs compilation
No
Needs R
>= 3.5.0
Language
en-GB
LazyData
true
RoxygenNote
7.3.2
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("modi")

The package provides a citation file, so citation() returns the authors' own entry.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for modi version 0.1.3 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.3
    Time taken
    62 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.3
    Time taken
    46 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.3
    Time taken
    47 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.3
    Time taken
    45 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    83 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.3
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    123 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    92 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    55 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    54 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.3
    Time taken
    20 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    74 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.3
    Time taken
    82 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
582−11.3% down on the 30 days before, the worse directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

5,394 of 26,530

CRAN

568 downloads in the last 30 days

Rank
5,394 of 26,530
Change
−9.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

8 downloads in the last 30 days

Rank
7,389 of 30,526
Change
+60% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
22,452 of 29,212
Change
−89.5% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

4 downloads in the last 30 days

Rank
3,573 of 7,575
Change
−20% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
5
Dependent packages
1
Suggested by
2
Needs (5)
Installing it adds
1 package, 19 KB of source
Of those, need compilation
1
Optional extras (4)
Dependent packages (1)
PackageTitleDownloads in 30 days
birdscanRMigration Traffic Rate Calculation Package for 'Birdscan MR1' Radars310
Functions
22
Public exports
22
Lines of R code
3,875
Median complexity
4.5
Functions (22)
Size and composition

Lines by kind (6,017)

KindLinesShare
R code3,87564%
Tests1402%
Documentation1,61427%
Guides3886%

Lines by language

LanguageLinesShare
R4,01567%
Rd1,61427%
Vignettes3886%

Languages are counted from file extensions.

Files
80
R functions
22
Complexity
Median
4.5
Mean
11.18
Highest
49
Median lines per function
60
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
22
Calls
15
Unconnected
6
Groups
3
Growth (4 releases)
Total lines by release
5,603 on 20 Nov 20186,017 on 22 Aug 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
73.3%
Expressions run by tests
73.6%
Test cases
19
Exports named in tests
59.1%
Coverage by file (14)
Coverage run
Lines counted
1,406
Lines the tests ran
1,031
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
19
Lines of tests
140
Test lines per line of code
0.04
Exports documented
100%
Arguments documented
99.4%
Return value documented
54.5%
Help pages with examples
62.1%
Examples run in checks
100%
Guides (1)
Other documentation
README
Yes, 265 words
Release notes file
Yes
Help pages
29
Lines of documentation
1,614
DatasetSizeColumns
bushfireBushfire scars.38 × 5X1, X2, X3, X4, X5
bushfire.weightsWeights for Bushfire scars.length 38
bushfiremBushfire scars with missing data.38 × 5X1, X2, X3, X4, X5
livalLiving Standards Measurement Survey Albania 20126,671 × 26psu, hhid, hh, prefectu, urban, strat and 20 more
sepeSample Environment Protection Expenditure Survey.675 × 23idnr, exp, totinvwp, totinvwm, totinvap, totinvnp and 17 more

martinSter / modi on github.com

Stars
4
Forks
1
Open issues
0
Last commit
22 Aug 2025
Activity
Commits
80
Open pull requests
1
Tagged releases
1
Latest tagged release
v0.1.0, 21 Nov 2018
Issues closed in
–
Pull requests closed in
1 day (median)
Pull requests merged
100%
Created
30 Jul 2018
Licence file reads as
–
Development practices (5)
KindFound
Continuous integrationTravis CI (config file)
Docs sourceREADME.Rmd
CRAN release processcran-comments.md, CRAN-SUBMISSION
Lint, format, editorRStudio project

Method, repository practices

Across martinSter

R releases
  • On CRAN
  • Release
VersionReleasedREvents
0.1.3 current22 Aug 20254.5.1
0.1.214 Mar 20234.2.2
0.1.13 Mar 20234.2.2Maintainer: Beat Hulliger
0.1.020 Nov 20183.5.0