Skip to content

modehunt

Multiscale Analysis for Density Functions

v1.0.8 · Apr 19, 2025 · GPL (>= 2)

Description

Given independent and identically distributed observations X(1), ..., X(n) from a density f, provides five methods to perform a multiscale analysis about f as well as the necessary critical values. The first method, introduced in Duembgen and Walther (2008), provides simultaneous confidence statements for the existence and location of local increases (or decreases) of f, based on all intervals I(all) spanned by any two observations X(j), X(k). The second method approximates the latter approach by using only a subset of I(all) and is therefore computationally much more efficient, but asymptotically equivalent. Omitting the additive correction term Gamma in either method offers another two approaches which are more powerful on small scales and less powerful on large scales, however, not asymptotically minimax optimal anymore. Finally, the block procedure is a compromise between adding Gamma or not, having intermediate power properties. The latter is again asymptotically equivalent to the first and was introduced in Rufibach and Walther (2010).

Downloads

CRAN

231

Last 30 days

21471st

635

Last 90 days

2.9K

Last year

Trend: +27.6% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

96

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

7

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,374

Files

34

Compiled share

0%

Has compiled src

No

Language breakdown

R 539 (39.2%)Docs 835 (60.8%)

API

Exported functions

13

Internal functions

0

Recent export changes

v1.0.6+13 blocks, criticalValuesAll, criticalValuesApprox +10 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

92.3%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2007-05-24

Latest release

2025-04-19

Avg cadence

258 days

Cold removal rate

Dep drift

2

LOC over versions

v1.0: 1,394 LOCv1.0.1: 1,394 LOCv1.0.2: 1,394 LOCv1.0.3: 1,394 LOCv1.0.4: 1,394 LOCv1.0.5: 1,375 LOCv1.0.6: 1,375 LOCv1.0.7: 1,375 LOCv1.0.8: 1,374 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Version History

10 tracked
new 1.0.8 Mar 10, 2026
updated 1.0.8 ← 1.0.7 diff Apr 18, 2025
updated 1.0.7 ← 1.0.6 diff Jul 2, 2015
updated 1.0.6 ← 1.0.5 diff Nov 28, 2011
updated 1.0.5 ← 1.0.4 diff Aug 30, 2010
updated 1.0.4 ← 1.0.3 diff Mar 3, 2009
updated 1.0.3 ← 1.0.2 diff Aug 24, 2008
updated 1.0.2 ← 1.0.1 diff Aug 23, 2008
updated 1.0.1 ← 1.0 diff Oct 8, 2007
new 1.0 May 28, 2007