Package: tinyVAST 1.0.0

James T. Thorson

tinyVAST: Multivariate Spatio-Temporal Models using Structural Equations

Fits a wide variety of multivariate spatio-temporal models with simultaneous and lagged interactions among variables (including vector autoregressive spatio-temporal ('VAST') dynamics) for areal, continuous, or network spatial domains. It includes time-variable, space-variable, and space-time-variable interactions using dynamic structural equation models ('DSEM') as expressive interface, and the 'mgcv' package to specify splines via the formula interface. See Thorson et al. (2024) <doi:10.48550/arXiv.2401.10193> for more details.

Authors:James T. Thorson [aut, cre], Sean C. Anderson [aut]

tinyVAST_1.0.0.tar.gz
tinyVAST_1.0.0.zip(r-4.5)tinyVAST_1.0.0.zip(r-4.4)tinyVAST_1.0.0.zip(r-4.3)
tinyVAST_1.0.0.tgz(r-4.5-x86_64)tinyVAST_1.0.0.tgz(r-4.5-arm64)tinyVAST_1.0.0.tgz(r-4.4-x86_64)tinyVAST_1.0.0.tgz(r-4.4-arm64)tinyVAST_1.0.0.tgz(r-4.3-x86_64)tinyVAST_1.0.0.tgz(r-4.3-arm64)
tinyVAST_1.0.0.tar.gz(r-4.5-noble)tinyVAST_1.0.0.tar.gz(r-4.4-noble)
tinyVAST_1.0.0.tgz(r-4.4-emscripten)tinyVAST_1.0.0.tgz(r-4.3-emscripten)
tinyVAST.pdf |tinyVAST.html
tinyVAST/json (API)
NEWS

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

Bug tracker:https://github.com/vast-lib/tinyvast/issues

Pkgdown site:https://vast-lib.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

vector-autoregressive-spatio-temporal-modelcpp

6.80 score 13 stars 6 downloads 22 exports 67 dependencies

Last updated 8 hours agofrom:3ec5d4b30f. Checks:12 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 15 2025
R-4.5-win-x86_64OKMar 15 2025
R-4.5-mac-x86_64OKMar 15 2025
R-4.5-mac-aarch64OKMar 15 2025
R-4.5-linux-x86_64OKMar 15 2025
R-4.4-win-x86_64OKMar 15 2025
R-4.4-mac-x86_64OKMar 15 2025
R-4.4-mac-aarch64OKMar 15 2025
R-4.4-linux-x86_64OKMar 15 2025
R-4.3-win-x86_64OKMar 15 2025
R-4.3-mac-x86_64OKMar 15 2025
R-4.3-mac-aarch64OKMar 15 2025

Exports:add_predictionscAICdelta_gammadelta_lognormaldeviance_explainedintegrate_outputlognormalmake_dsem_rammake_eof_rammake_sem_ramnbinom1nbinom2reload_modelrmvnorm_precrotate_pcasample_variablesfnetwork_evaluatorsfnetwork_meshsimulate_sfnetworktinyVASTtinyVASTcontroltweedie

Dependencies:abindarmassertthatbackportsbootcheckmateclassclassIntcliclisymbolscodacorpcorcpp11crayonDBIdplyre1071fansifishModfmeshergenericsgeometriesglueigraphKernSmoothlatticelifecyclelme4lwgeommagrittrMASSMatrixmgcvmiminqamvtnormnlmenloptrpillarpkgconfigproxypurrrR6rbibutilsRcppRcppEigenRdpackreformulasrlangs2sdmTMBsemsfsfheaderssfnetworksstringistringrtibbletidygraphtidyrtidyselectTMBunitsutf8vctrswithrwk

Comparison with mgcv

Rendered frommgcv.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2024-04-02
Started: 2023-10-16

Dynamic structural equation models

Rendered fromdsem.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2023-10-16

Multiple data types

Rendered frommultiple_data.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2024-04-02

Simultaneous autoregressive process

Rendered fromsimultaneous_autoregressive_process.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2023-12-04

Spatial factor analysis

Rendered fromspatial_factor_analysis.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2023-11-20

Spatial modeling

Rendered fromspatial.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2023-10-16

tinyVAST model description

Rendered frommodel-description.Rmdusingknitr::rmarkdownon Mar 15 2025.

Last update: 2025-03-10
Started: 2025-03-10

Readme and manuals

Help Manual

Help pageTopics
Add predictions to data-listadd_predictions
Survey domain for the eastern and northern Bering Sea surveysbering_sea
Survey catch-rates at age for Alaska pollock in the Eastern and Northern Bering Seabering_sea_pollock_ages
Estimated proportion-at-age for Alaska pollock using VASTbering_sea_pollock_vast
Calculate conditional AICcAIC
Classify variables pathclassify_variables
Condition and density examplecondition_and_density
Calculate deviance explaineddeviance_explained
Additional familiesdelta_gamma delta_lognormal Families
Integration for target variableintegrate_output
Extract the (marginal) log-likelihood of a tinyVAST modellogLik.tinyVAST
Make a RAM (Reticular Action Model)make_dsem_ram
Make a RAM (Reticular Action Model)make_eof_ram
Make a RAM (Reticular Action Model) from a SEM (structural equation model)make_sem_ram
Parse pathparse_path
Predict using vector autoregressive spatio-temporal modelpredict.tinyVAST
print summary of tinyVAST modelprint.tinyVAST
Presence/absence, count, and biomass data for red snapperred_snapper
Shapefile for red snapper analysisred_snapper_shapefile
Reload a previously fitted modelreload_model
Calculate deviance or response residuals for tinyVASTresiduals.tinyVAST
Multivariate Normal Random Deviates using Sparse Precisionrmvnorm_prec
Rotate factors to match Principal-Components Analysisrotate_pca
North Pacific salmon returnssalmon_returns
Sample from predictive distribution of a variablesample_variable
Arctic September sea ice concentrationssea_ice
Construct projection matrix for stream networksfnetwork_evaluator
Make mesh for stream networksfnetwork_mesh
Simulate GMRF for stream networksimulate_sfnetwork
Simulate new data from a fitted modelsimulate.tinyVAST
summarize tinyVASTsummary.tinyVAST
Fit vector autoregressive spatio-temporal modeltinyVAST
Control parameters for tinyVASTtinyVASTcontrol
Extract Variance-Covariance Matrixvcov.tinyVAST