Skip to content

L-Infinity Normalization and Dominant Community State Types

0packages depend
818downloads / year
82.4%test coverage
13/13flavors OK

Overview

About

Implements L-infinity normalization for compositional matrices, assigns samples to dominant features, constructs truncated and hierarchically refined dominant community state types, and computes representative landmark profiles. The methods are described in the accompanying publication doi:10.48550/arXiv.2503.21543. Bundled vaginal and gut microbiome data support reproducible demonstrations of the package interface; phenotype fields in the stratified gut subset are illustrative and are not suitable for population-level inference.

Changes in 0.3.0

This release simplifies the public API and requires the explicit dCST object

structure introduced in linf 0.2.0.

  • refine.linf.csts() now supports both automatic and explicit dominance-lineage selection through lineages.to.refine; it can be called repeatedly to add successive hierarchy depths.
  • refine.linf.csts.iter() has been removed in favor of repeated calls to refine.linf.csts().
  • The narrow convenience wrapper asv.to.linf.csts() has been removed. Use filter.asv(), normalize.linf(), and linf.csts() explicitly so that each stage and its dCST parameters remain visible.
  • The standalone formatter latex.linf.csts() has been removed; dCST summary tables can be formatted with general reporting tools such as knitr::kable().
Show all changes in 0.3.0Hide the rest of the changes in 0.3.0
  • Pre-0.2 flat dCST objects are no longer accepted. Functions consuming fitted dCSTs now require the explicit active, pure-policy, and absorb-policy hierarchies produced by linf.csts().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-08-06
Advisories

none known

Documentation

In release 0.3.0
READMEYes · 678 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.3.0Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
18
Examples that run
100%18 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
11%

Downloads

818
CRAN downloads in the past year
Rank #14,628 · ~2/day · ~68/mo
Daily download trend is not available in this view yet.
26630 days
81890 days
8181 year
Compare downloads with other packages →
Also on27 r2u2 autocran

Repository

0Stars
1Forks
0Open issues
0Open PRs
0Releases
67Commits
1Commit identities
67 commits · Last activity 2026-10-04 · Default branch at 0.3.1, ahead of CRAN 0.3.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
24

Forks over time

2026-08-05 · 02026-09-30 · 1
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/pgajer/linf on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Contributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-10 · The repository has a site deploy workflow

pkgdown site last built 2026-09-10

Reproducibility and dev environment (2)
data-raw/Makefile
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing linf adds no packages beyond those that come with R.

Depends (1)
R >= 4.0
Imports (2)
Matrixmethods
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (3)

Pick two releases to compare their code metrics.

  • 0.3.0Latest
    record
    2026-08-31 · current release · diff ↗ ·
    removed 3 exports
    asv.to.linf.csts, latex.linf.csts, refine.linf.csts.iter
  • 0.2.0
    record
    2026-08-05 · diff ↗ ·
    removed 3 exports
    collapse.rare, expand.rare, linf.cells
    added 2 exports
    dcst.view, linf.dominant.features
  • 0.1.0
    record
    2026-08-05
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-05
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0
Bundled data
652 KB / 5 files
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("linf")

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

It points to 10.48550/arxiv.2503.21543.

Cite the 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 linf version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy