tinyVAST 1.3.0
CRAN release: 2025-09-13
- Adding
add_vertex_covariatesto associate mesh vertices with covariates (hean Anderson) - Adding option for covariate-based anisotropy using
vertex_formula, while also allowing geometric anisotropy. - Adding option for barriers using
triangle_formulawhich permits an offset for barrier covariates - Adding
spatial_corto use sparse matrices to compute the correlation between acoordandpredcoordinates, e.g. to visualize covariate-based anisotropy - Fix
make_eof_ramto work as intended for multivariate models, e.g., having a separate response map and shared indices across variables (previously had a shared response map and shared indices, i.e., collapsed to univariate model) - Fix bug arising in
predictwhenspatial_varyinginvolved a column ofnewdatathat was expecting a factor, but provided acharacter-vector. Now coercers to factors using the levels of the originaldata(same behavior as forformula) - Export
fit$rep$negloglik_ias log-likelihood for each datum, for use in calculating out-of-sample predictive score - Turn off SE reporting during index calculations (as speedup), and allow SE reporting for
mu_ginpredict - Fix bug arising in
projectwhenspatial_varyingwas specified - Adding web-only vignette showing predator-expanded diet estimator using joint model of specific stomach contents and predator density
- Fix bug arising when using
weightsargument using family ofdelta_gammaordelta_lognormal, where this bug was introduced in release 1.2.0 (h/t Peri Gerson for identifying the issue) - Add vignette showing
projectfunction - Add a web-only vignette showing the sponge-coral-fish case study to illustrate spatial structural modelling
tinyVAST 1.2.0
CRAN release: 2025-07-19
- Adding a new spatial domain using
sf::st_make_grid - Adding option for geometric anisotropy when using
sf::st_make_grid - Fix bug in deviance for lognormal distribution in delta models (h/t Sean Anderson for finding it)
- Change family = “binomial” to use
weightsas number of Binomial trials N - Fix
deviance_explainedto work with non-defaultweightsargument - Add
fit$internal$packageVersionto allowpredict,cAICetc to check and throw error if there’s a package inconsistency between object and installed package - Add
conditional_gmrfto do conditional simulations from a GMRF - Add
projectto project tinyVAST forward in time - Eliminate
...argument totinyVASTso that it’s obvious if an argument is mis-named. - Fix bug which previously resulted in non-converged models, where including DSEM arrow “x<->x, 0, sd_xy” would improperly add another term “x <-> x, 0, V[x]” because it didn’t previously parse the whitespaces when detecting missing covariances (h/t Jon Reum for flagging the issue)
tinyVAST 1.1.1
CRAN release: 2025-05-07
- Adding option for geometric anisotropy when using the SPDE method
- For some reason, the CPP edits also address an error message during
devtools::check_win_devel“array subscript ’const __m128i[0]’ is partly outside array bounds of ‘unsigned char [12]’”
tinyVAST 1.1.0
CRAN release: 2025-05-03
- Adding
term_covarianceto calculate the covariance among variables for SEM term, or covariance among variables-and-lags for DSEM terms - Adding Restricted Spatial Regression estimator for covariates
alphaprime_jandalphaprime2_jtofit$repoutput. - Adding methods to allow use of
cvto calculate crossvalidation skill - Add
bias.correctoption to predict (but still no flag for SEs for anything except p_i) - Switch
sample_variablefrom usingobj$env$MCtoobj$env$spHess(random=TRUE)which seems more stable as dependency - Add functionality for
teandtisplines, although they remain poorly tested - Add error check to
sfnetwork_meshto detect if the stream network is not ordered as a tree - Improve stream network vignette to use matrix notation for joint precision, and modify
simulate_sfnetworkto use that - Change
tinyVAST.cppto use matrix notation constructor and fix bug in previous constructor where the covariance between first and second nodes was not right - Expand
test-sfnetworks.Rintegrated test to confirm that matrix-notation precision constructor is identical to the inverse of Ornstein-Uhlenbeck covariance as intended.
tinyVAST 1.0.1
CRAN release: 2025-03-21
- Modify examples for
simulate.tinyVASTandsample_variableto try to avoid terminal output giving error in valgrind check - Add
ivector_minus_onefunction to satisfy clang-UBSAN - Swap
GMRF(Q).Quadform(x)tox.matrix().transpose() * (Q * x.matrix())to avoid calculating log-determinant ofQin the smoothers penalty, to avoid valgrind errors - Add tinyVASTcontrol option that suppresses nlminb warning messages by default, which are typically not informative to casual users
tinyVAST 1.0.0
CRAN release: 2025-03-13
- Adding nbinom1 and nbinom2 families
- Simplify argument names, by changing
semtospace_term,dsemtospacetime_termandspatial_graphtospatial_domain, and eliminatingdelta_in the names for arguments todelta_options - Add
time_termto allow time-variable interaction (e.g., AR1 intercepts) - Adding overview and model-description vignettes
- Add
simulateS3 generic
tinyVAST 0.7.1
- Fixed bug (wrong output) when using
predict(fit, what="mu_g")and a Poisson-linked delta model - Fixed bug (cryptic error message) when using
integrate_output - Add
cAIC(but disabling EDF calculation for now)
tinyVAST 0.7.0
- Adding option for spatially-varying-coefficient (SVC) models
- Add error-check for when
datahas a factor with extra levels, which conflicted with the logic of adding allorigdatalevels tonewdatawhen callingpredict, and hence caused an uniformative error previously
tinyVAST 0.6.0
- Change
integrate_outputinterface by splittingW_gzandV_gzinto four vectorsarea,type,covariate, andweighting_indexto simplify documentations and improve naming - Fix bug where cloglog and logit links were not previously implemented for use in
predictandintegrate_output
tinyVAST 0.5.0
- Adding vignette showing how to fit multiple data types in an SDM
- Adding
deviance_explainedand calculating this by default
