miniLNM
0.1.2Miniature Logistic-Normal Multinomial Models
Overview
Logistic-normal Multinomial (LNM) models are common in problems with multivariate count data. This package gives a simple implementation with a 30 line 'Stan' script. This lightweight implementation makes it an easy starting point for other projects, in particular for downstream tasks that require analysis of "compositional" data. It can be applied whenever a multinomial probability parameter is thought to depend linearly on inputs in a transformed, log ratio space. Additional utilities make it easy to inspect, create predictions, and draw samples using the fitted models. More about the LNM can be found in Xia et al. (2013) "A Logistic Normal Multinomial Regression Model for Microbiome Compositional Data Analysis" doi:10.1111/biom.12079 and Sankaran and Holmes (2023) "Generative Models: An Interdisciplinary Perspective" doi:10.1146/annurev-statistics-033121-110134.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-2913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-270 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-06-090 OK · 13 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
- ERROR2026-06-080 OK · 12 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-220 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-180 OK · 13 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-100 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/krisrs1128/minilnm on 2026-08-16.
Dependencies
Code & Tests
People & History
2 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.1.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.02026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2024-09-13
- Total releases
- 2 / 2 yrs
- License
- CC0
- Minimum R
- ≥ 4.1.0
- Download size
- 41 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("miniLNM")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.