Package: lotri 1.0.5

Matthew L. Fidler

lotri: A Simple Way to Specify Symmetric, Block Diagonal Matrices

Provides a simple mechanism to specify a symmetric block diagonal matrices (often used for covariance matrices). This is based on the domain specific language implemented in 'nlmixr2' but expanded to create matrices in R generally instead of specifying parts of matrices to estimate. It has expanded to include some matrix manipulation functions that are generally useful for 'rxode2' and 'nlmixr2'.

Authors:Matthew L. Fidler [aut, cre], Mauricio Vargas Sepulveda [ctb], Bill Denney [ctb]

lotri_1.0.5.tar.gz
lotri_1.0.5.zip(r-4.7-x86_64)lotri_1.0.5.zip(r-4.7-arm64)lotri_1.0.5.zip(r-4.6-x86_64)lotri_1.0.5.zip(r-4.6-arm64)
lotri_1.0.5.tar.gz(r-4.7-arm64)lotri_1.0.5.tar.gz(r-4.7-x86_64)lotri_1.0.5.tar.gz(r-4.6-arm64)lotri_1.0.5.tar.gz(r-4.6-x86_64)
lotri_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lotri/json (API)

# Install 'lotri' in R:
install.packages('lotri', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/nlmixr2/lotri/issues

Pkgdown/docs site:https://nlmixr2.github.io

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

6.55 score 20 packages 41 scripts 3.2k downloads 17 exports 5 dependencies

Last updated from:2b971a28e0. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK154
linux-devel-x86_64OK136
source / vignettesOK211
linux-release-arm64OK111
linux-release-x86_64OK133
windows-devel-arm64OK259
windows-devel-x86_64OK173
windows-release-arm64OK208
windows-release-x86_64OK126
wasm-releaseOK122

Exports:.lotriPointersas.lotrilotrilotriAsExpressionlotriBaseConditionlotriDataFrameToLotriExpressionlotriEstlotriIsBlockMatlotriIsSamelotriMatlotriMatInvlotriNearPDlotriPriorDistslotriSameBreaklotriSameMaplotriSeprcm

Dependencies:armadillo4rbackportscheckmatecpp4rcrayon

Prior distributions in lotri
Why priors are in lotri | The syntax | What a prior can be attached to | Population parameters | A single between subject variability term | A whole covariance block | Degrees of freedom for an omega block | A prior on the omega values themselves | One joint block over thetas and omega elements | One block at a time | The normal prior shorthand | More than one parameter | Transformations | Zero variance | Distribution names | Why dt() is not studentT() | The supported distributions | Bounds and truncated priors | What else is checked | Getting the priors back out | Using this downstream | A prior must never be silently ignored

Last update: 2026-09-11
Started: 2026-09-11

Repeated blocks with same() in lotri
What same() is for | The rules | How it is stored: the condition column | Reading the column | Round trips | same() versus cnd(same = n)

Last update: 2026-09-11
Started: 2026-09-11

Lotri Motivation
Motivation | Creating lists of matrices with attached properties | Combining symmetric named matrices

Last update: 2022-06-18
Started: 2019-05-14