Package: cosimmr 1.1.01

cosimmr: Fast Fitting of Stable Isotope Mixing Models with Covariates

Fast fitting of Stable Isotope Mixing Models in R. Allows for the inclusion of covariates. Also has built-in summary functions and plot functions which allow for the creation of isospace plots. Variational Bayes is used to fit these models, methods as described in: Tran et al., (2021) <doi:10.48550/arXiv.2103.01327>.

Authors:Emma Govan [cre, aut], Andrew Parnell [aut], Ahmed Shalaby [ctb], Alan Inglis [ctb]

cosimmr_1.1.01.tar.gz
cosimmr_1.1.01.zip(r-4.5)cosimmr_1.1.01.zip(r-4.4)cosimmr_1.1.01.zip(r-4.3)
cosimmr_1.1.01.tgz(r-4.4-x86_64)cosimmr_1.1.01.tgz(r-4.4-arm64)cosimmr_1.1.01.tgz(r-4.3-x86_64)cosimmr_1.1.01.tgz(r-4.3-arm64)
cosimmr_1.1.01.tar.gz(r-4.5-noble)cosimmr_1.1.01.tar.gz(r-4.4-noble)
cosimmr_1.1.01.tgz(r-4.4-emscripten)cosimmr_1.1.01.tgz(r-4.3-emscripten)
cosimmr.pdf |cosimmr.html
cosimmr/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/emmagovan/cosimmr/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
Datasets:

On CRAN:

5.18 score 7 scripts 511 downloads 6 exports 56 dependencies

Last updated 3 months agofrom:659958322c. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-win-x86_64OKNov 03 2024
R-4.5-linux-x86_64OKNov 03 2024
R-4.4-win-x86_64OKNov 03 2024
R-4.4-mac-x86_64OKNov 03 2024
R-4.4-mac-aarch64OKNov 03 2024
R-4.3-win-x86_64OKNov 03 2024
R-4.3-mac-x86_64OKNov 03 2024
R-4.3-mac-aarch64OKNov 03 2024

Exports:convergence_checkcosimmr_ffvbcosimmr_loadposterior_predictiveprint.cosimmr_inputprior_viz

Dependencies:abindbackportsbayesplotbootcheckmateclicodacolorspacedistributionaldplyrfansifarvergenericsggnewscaleggplot2ggridgesgluegridExtragtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgconfigplyrposteriorR2jagsR2WinBUGSR6RColorBrewerRcppRcppArmadilloRcppDistreshape2rjagsrlangscalesstringistringrtensorAtibbletidyselectutf8vctrsviridisviridisLitewithr

Stable Isotope Mixing Models with Covariates in R using cosimmr

Rendered fromcosimmr.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2024-08-30
Started: 2023-09-13

Quick start using cosimmr

Rendered fromcosimmr_quick_start.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2024-05-31
Started: 2024-05-30

Readme and manuals

Help Manual

Help pageTopics
Alligator Dataalligator_data
Cladocera data from Galloway et al 2015.cladocera_data
Creates a plot of mean lower bound to check the FFVB model has finished. Uses 'cosimmr_ffvb' output.convergence_check
cosimmr: An R package for Stable Isotope Mixing Modelscosimmr-package cosimmr
Run a 'cosimmr_input' object through the Fixed Form Variational Bayes(FFVB) functioncosimmr_ffvb
Function to load in cosimmr data and check for errorscosimmr_load
Geese stable isotope mixing data setgeese_data
A smaller version of the Geese stable isotope mixing data setgeese_data_day1
Isopod Dataiso_data
Plot the 'cosimmr_input' data created from 'cosimmr_load'plot.cosimmr_input
Plot different features of an object created from 'cosimmr_ffvb'.plot.cosimmr_output
Plot different features of an object created from 'cosimmr_ffvb'.plot.cosimmr_pred_out
Plot the posterior predictive distribution for a cosimmr runposterior_predictive
Predicts proportion of each source in a mixture, based on values provided for covariatespredict.cosimmr_output
Print simmr input objectprint.cosimmr_input
Print a simmr output objectprint.cosimmr_output
Plot the prior distribution for a cosimmr runprior_viz
A simple fake stable isotope mixing data setsimmr_data_1
A 3-isotope fake stable isotope mixing data setsimmr_data_2
An artificial data set used to indicate effect of priorssquare_data
Summarises the output created with 'cosimmr_ffvb'summary.cosimmr_output
Summarises the output created with 'cosimmr_ffvb'summary.cosimmr_pred_out