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.7)cosimmr_1.1.01.zip(r-4.6)cosimmr_1.1.01.zip(r-4.5)
cosimmr_1.1.01.tgz(r-4.6-x86_64)cosimmr_1.1.01.tgz(r-4.6-arm64)cosimmr_1.1.01.tgz(r-4.5-x86_64)cosimmr_1.1.01.tgz(r-4.5-arm64)
cosimmr_1.1.01.tar.gz(r-4.7-arm64)cosimmr_1.1.01.tar.gz(r-4.7-x86_64)cosimmr_1.1.01.tar.gz(r-4.6-arm64)cosimmr_1.1.01.tar.gz(r-4.6-x86_64)
cosimmr_1.1.01.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
cosimmr/json (API)

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

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

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

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:

Conda:

openblascppopenmpjags

4.00 score 1 stars 8 scripts 611 downloads 6 exports 53 dependencies

Last updated from:659958322c. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK199
linux-devel-x86_64OK205
source / vignettesOK268
linux-release-arm64OK176
linux-release-x86_64OK198
macos-release-arm64OK210
macos-release-x86_64OK397
macos-oldrel-arm64OK170
macos-oldrel-x86_64OK309
windows-develOK203
windows-releaseOK192
windows-oldrelOK178
wasm-releaseOK142

Exports:convergence_checkcosimmr_ffvbcosimmr_loadposterior_predictiveprint.cosimmr_inputprior_viz

Dependencies:abindbackportsbayesplotbootcheckmateclicodacpp11distributionaldplyrfarvergenericsggnewscaleggplot2ggridgesgluegridExtragtableisobandlabelinglatticelifecyclemagrittrmatrixStatsnumDerivpillarpkgconfigplyrposteriorpurrrR2jagsR2WinBUGSR6RColorBrewerRcppRcppArmadilloRcppDistreshape2rjagsrlangS7scalesstringistringrtensorAtibbletidyrtidyselectutf8vctrsviridisviridisLitewithr

Stable Isotope Mixing Models with Covariates in R using cosimmr
Introduction | Installation of the cosimmr package

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

Quick start using cosimmr
Step 1: install cosimmr | Step 2: load in the data | Step 3: load the data into cosimmr | Step 4: plot the data

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