Skip to content

inphr

0.0.1

Statistical Inference for Persistence Homology Data

0packages depend
1.8Kdownloads / year
100.0%test coverage
13/13checks pass

Overview

About
Maintained by Aymeric StammFirst published 2025-09-011 releasesCRAN page ↗GitHub ↗

A set of functions for performing null hypothesis testing on samples of persistence diagrams using the theory of permutations. Currently, only two-sample testing is implemented. Inputs can be either samples of persistence diagrams themselves or vectorizations. In the former case, they are embedded in a metric space using either the Bottleneck or Wasserstein distance. In the former case, persistence data becomes functional data and inference is performed using tools available in the 'fdatest' package. Main reference for the interval-wise testing method: Pini A., Vantini S. (2017) "Interval-wise testing for functional data" doi:10.1080/10485252.2017.1306627. Main reference for inference on populations of networks: Lovato, I., Pini, A., Stamm, A., & Vantini, S. (2020) "Model-free two-sample test for network-valued data" doi:10.1016/j.csda.2019.106896.

Install

Health

CRAN checks
13OK
Slowest check: 6.3 min · r-release-windows-x86_64
Code health
Yes
Tests · ratio 0.01
100.0%
Coverage · measured lines
100%
Documentation · exports
None
Vignettes
Yes
README
6
Dependencies · direct
Check history
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

1.8K
CRAN downloads in the past year
Rank #20,640 · ~5/day · ~149/mo
Daily download trend is not available in this view yet.
21230 days
57990 days
1.8K1 year
Compare downloads with other packages →
Also on58 r2u27 autocran

Repository

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 431 (60%)Rd 290 (40%)
Code characteristics
Cyclomatic complexity
3.0 median / 10 max
Test cases
31 / 0.01 per code line
Documented parameters
93%

Test coverage

Line coverage

100%

Expression

100.0%

Tests / Examples

100.0% / 44% ex

Functions

5 2 exported

Complexity

4 avg / 10 max

Call network

5 nodes / 2 edges

Loading call graph…

Lowest coverage

5 functions
FunctionCycloCoverage
two_sample_diagram_test exp5100%
two_sample_functional_test exp1100%
compute_distance_matrix3100%
null_spec1100%
parse_inputs10100%

People & History

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

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-01
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5
Bundled data
77 KB / 3 files
Download size
323 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →