Package: rema 1.2.0

Jane Sullivan

rema: A generalized framework to fit the random effects (RE) model, a state-space random walk model developed at the Alaska Fisheries Science Center (AFSC) for apportionment and biomass estimation of groundfish and crab stocks.

This package provides a generalized framework to fit the random effects (RE) model, a state-space random walk model developed at the Alaska Fisheries Science Center (AFSC) for smoothing survey biomass estimates and apportioning catch among management areas. REMA is a multivariate extension of the original single-survey, single-strata RE model that allows the use of multiple strata within a survey and an additional survey (e.g. CPUE or relative population numbers) to inform the biomass trend (Hulson et al. 2021). If multi-survey mode is turned off, REMA runs the same as the univariate (RE) and multivariate (i.e. multiple area or depth strata; REM) versions of the model. REMA was developed in Template Model Builder (TMB; Kristensen et al. 2016).

Authors:Jane Sullivan [aut, cre], Laurinne Balstad [aut, ctb], Cole Monnahan [ctb], Pete Hulson [ctb]

rema_1.2.0.tar.gz
rema_1.2.0.zip(r-4.7)rema_1.2.0.zip(r-4.6)rema_1.2.0.zip(r-4.5)
rema_1.2.0.tgz(r-4.6-x86_64)rema_1.2.0.tgz(r-4.6-arm64)rema_1.2.0.tgz(r-4.5-x86_64)rema_1.2.0.tgz(r-4.5-arm64)
rema_1.2.0.tar.gz(r-4.7-arm64)rema_1.2.0.tar.gz(r-4.7-x86_64)rema_1.2.0.tar.gz(r-4.6-arm64)rema_1.2.0.tar.gz(r-4.6-x86_64)
rema_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rema/json (API)

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

Bug tracker:https://github.com/janesullivan-noaa/rema/issues

Pkgdown/docs site:https://afsc-assessments.github.io

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

On CRAN:

Conda:

cpp

4.93 score 9 stars 38 scripts 250 downloads 13 exports 58 dependencies

Last updated from:9d80130009. Checks:11 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING189
linux-devel-x86_64WARNING208
source / vignettesOK358
linux-release-arm64WARNING207
linux-release-x86_64WARNING189
macos-release-arm64WARNING136
macos-release-x86_64WARNING401
macos-oldrel-arm64WARNING111
macos-oldrel-x86_64WARNING225
windows-develWARNING182
windows-releaseWARNING226
windows-oldrelWARNING175
wasm-releaseOK166

Exports:%>%check_convergencecheck_estimabilitycompare_rema_modelsfit_remaget_osa_residualsplot_extra_cvplot_remaprepare_rema_inputread_admb_reread_reptidy_extra_cvtidy_rema

Dependencies:abindbase64encbslibcachemclicpp11digestdplyrevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMatrixmemoisemimepillarpkgconfigpurrrR6rappdirsRColorBrewerRcppRcppEigenrlangrmarkdownS7sassscalessessioninfostringistringrtibbletidyrtidyselecttinytexTMButf8vctrsviridisLitewithrxfunyamlzoo

Fitting to an additional CPUE survey

Rendered fromex2_cpue.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2023-08-31
Started: 2022-08-15

REMA basics

Rendered fromex1_basics.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2023-08-30
Started: 2022-06-16

REMA model equations

Rendered fromrema_equations.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2025-01-07
Started: 2022-08-15

REMA model validation

Rendered fromex4_model_validation.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2024-12-04
Started: 2024-08-21

Strategies for handling zero biomass observations

Rendered fromex3_zeros.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2024-08-21
Started: 2022-08-15