Package: stLMM 0.0.4

stLMM: Bayesian Spatial and Space-Time Linear Mixed Models
Fits Bayesian linear mixed models for spatial and space-time data with fixed effects, independent and identically distributed (iid) grouped random effects, and structured latent processes. The formula interface supports first-order autoregressive (AR(1)) effects, dense Gaussian processes, nearest-neighbor Gaussian processes, proper and Leroux conditional autoregressive (CAR) effects, ordered directed acyclic graph autoregressive (DAGAR) effects, separable CAR-time and DAGAR-time effects, and spatially varying coefficients. The sampler uses sparse precision matrix calculations when available and includes post-fitting tools for latent process recovery, fitted values, prediction, pointwise log likelihoods, and posterior sample extraction. Method details include Datta et al. (2016) <doi:10.1080/01621459.2015.1044091>, Finley et al. (2019) <doi:10.1080/10618600.2018.1537924>, Datta et al. (2019) <doi:10.1214/19-BA1177>, and May and Finley (2025) <doi:10.1016/j.spasta.2025.100917>.
Authors:
stLMM_0.0.4.tar.gz
stLMM_0.0.4.zip(r-4.7-x86_64)stLMM_0.0.4.zip(r-4.7-arm64)stLMM_0.0.4.zip(r-4.6-x86_64)stLMM_0.0.4.zip(r-4.6-arm64)stLMM_0.0.4.zip(r-4.5-x86_64)
stLMM_0.0.4.tgz(r-4.6-x86_64)stLMM_0.0.4.tgz(r-4.6-arm64)stLMM_0.0.4.tgz(r-4.5-x86_64)stLMM_0.0.4.tgz(r-4.5-arm64)
stLMM_0.0.4.tar.gz(r-4.7-arm64)stLMM_0.0.4.tar.gz(r-4.7-x86_64)stLMM_0.0.4.tar.gz(r-4.6-arm64)stLMM_0.0.4.tar.gz(r-4.6-x86_64)
stLMM_0.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
stLMM/json (API)
| # Install 'stLMM' in R: |
| install.packages('stLMM', repos = c('https://finleya.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/finleya/stlmm/issues
Pkgdown/docs site:https://finleya.github.io
- stunitco - FIA state, unit, and county polygons
Last updated from:a60ef7e0fd. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 195 | ||
| linux-devel-x86_64 | OK | 244 | ||
| source / vignettes | OK | 207 | ||
| linux-release-arm64 | OK | 190 | ||
| linux-release-x86_64 | OK | 234 | ||
| macos-release-arm64 | OK | 265 | ||
| macos-release-x86_64 | OK | 322 | ||
| macos-oldrel-arm64 | OK | 286 | ||
| macos-oldrel-x86_64 | OK | 340 | ||
| windows-devel-arm64 | OK | 447 | ||
| windows-devel-x86_64 | OK | 235 | ||
| windows-release-arm64 | OK | 373 | ||
| windows-release-x86_64 | OK | 276 | ||
| windows-oldrel-x86_64 | OK | 272 | ||
| wasm-release | OK | 108 |
Exports:as_mcmcas_samplesbeta_distcar_graphfixedflatgamma_distget_cor_modelshalf_normalhalf_tiglog_liklog_normalnormalrecoverresidstLMMuniformwaic
Dependencies:BayesLogitcodalatticeMatrix
Last update: 2026-07-01
Started: 2026-06-16
Last update: 2026-07-01
Started: 2026-06-16
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert stLMM samples to coda objects | as_mcmc as_mcmc.stLMM as_mcmc.stLMM_chains as_mcmc.stLMM_recovery as_mcmc.stLMM_recovery_chains |
| Collect stLMM posterior samples in a data frame | as_samples |
| Build a CAR adjacency graph | car_graph plot.stLMM_car_graph plot.stLMM_graph |
| Posterior fitted values for an stLMM fit | fitted.stLMM |
| List supported covariance models | get_cor_models |
| Pointwise log likelihood and WAIC | log_lik log_lik.stLMM log_lik.stLMM_chains log_lik.stLMM_recovery log_lik.stLMM_recovery_chains waic waic.default waic.stLMM waic.stLMM_chains waic.stLMM_recovery waic.stLMM_recovery_chains |
| Posterior prediction from recovered stLMM fits | predict.stLMM predict.stLMM_chains predict.stLMM_recovery predict.stLMM_recovery_chains |
| Recover latent process draws | recover recover.stLMM recover.stLMM_chains |
| Residual variance formula term | resid |
| Fit a Bayesian mixed model with structured latent processes | stLMM |
| Print, summarize, and plot stLMM objects | plot.stLMM plot.stLMM_chains plot.stLMM_prediction plot.stLMM_prediction_chains plot.stLMM_recovery plot.stLMM_recovery_chains print.stLMM print.stLMM_chains print.stLMM_prediction print.stLMM_recovery summary.stLMM summary.stLMM_chains summary.stLMM_prediction summary.stLMM_recovery summary.stLMM_recovery_chains |
| Prior constructors for stLMM | beta_dist fixed flat gamma_dist half_normal half_t ig log_normal normal stLMM-priors stLMM_priors uniform |
| stLMM formula terms | ar1 car car_time dagar dagar_time gp iid nngp stLMM-terms stLMM_terms |
| FIA state, unit, and county polygons | stunitco |