Package: JARA2 2.0.0.9000

JARA2: State-Space Population Trend Analysis for Red List Assessments in 'RTMB'

The next generation of 'JARA' (Just Another Red-list Assessment). Fits the 'JARA' state-space models (a random walk with drift on log abundance, observed through relative abundance indices or census counts) in 'RTMB', in about a second per fit, with full posteriors through 'tmbstan' (NUTS) as an option. Estimates the change in abundance over three generation lengths and the probabilities of the IUCN Red List categories under criteria A1 and A2, with uncertainty in the generation length carried through. Includes projections, one-step-ahead residuals, retrospective analysis and hindcast cross-validation, graphics shared with 'JABBA3', inputs as data frames, 'FLIndices' or 'JABBA' objects, and a converter for 'JARA' inputs, so existing scripts continue to run.

Authors:Henning Winker [aut, cre], Richard Sherley [aut], Nathan Pacoureau [aut]

JARA2_2.0.0.9000.tar.gz
JARA2_2.0.0.9000.zip(r-4.7-any)JARA2_2.0.0.9000.zip(r-4.6-any)JARA2_2.0.0.9000.zip(r-4.5-any)
JARA2_2.0.0.9000.tgz(r-4.6-any)JARA2_2.0.0.9000.tgz(r-4.5-any)
JARA2_2.0.0.9000.tar.gz(r-4.7-any)JARA2_2.0.0.9000.tar.gz(r-4.6-any)
JARA2_2.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
JARA2/json (API)

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

Bug tracker:https://github.com/henning-winker/jara2/issues

Datasets:

On CRAN:

Conda:

1.70 score 7 scripts 64 exports 26 dependencies

Last updated from:eef1b23ff9. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develWARNING230
source / vignettesOK241
linux-releaseWARNING224
macos-releaseWARNING165
macos-oldrelWARNING181
windows-develWARNING193
windows-releaseWARNING200
windows-oldrelWARNING199
wasm-releaseOK115

Exports:assign_iucndfidxiucn_estimatorsiucn_probsiucn_thresholdsjara2jarainput2jara2jaraplot2jr_noisejr_qtablejr_runsjr2_aicjr2_as_jb3trendjr2_datajr2_diagsjr2_iucnjr2_jointindexjr2_lifehistoryjr2_marssjr2_mixedjr2_priorsjr2_procdiagjr2_retrojr2_rollingjr2_starsjr2_statejr2_tbeffectjr2_timeblockjrplot_changesjrplot_comparejrplot_componentsjrplot_covariatesjrplot_criteriajrplot_fitsjrplot_hcxvaljrplot_indexcorjrplot_indicesjrplot_iucnjrplot_jointindexjrplot_logfitsjrplot_marssjrplot_mixedjrplot_noisejrplot_poptrjjrplot_PPCjrplot_priorpostjrplot_procdevjrplot_procdiagjrplot_qjrplot_rjrplot_ratejrplot_residualsjrplot_retrojrplot_retrobiasjrplot_retroiucnjrplot_rollingjrplot_runstestjrplot_starsjrplot_statejrplot_tbeffectjrplot_timeblockjrplot_trjfitjrplot_trjobsmixed.trend

Dependencies:clicpp11farverggplot2gluegtableisobandJABBA3labelinglatticelifecycleMASSMatrixpatchworkR6RColorBrewerRcppRcppEigenrlangRTMBS7scalesTMBvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Assign IUCN categories from a change in abundanceassign_iucn
Stock status of 73 ICES stocks, 1970-2020ices_status
Simple decline estimators (two-point and log-linear regression)iucn_estimators
Category probabilities from posterior draws of the changeiucn_probs
IUCN thresholds for criterion Aiucn_thresholds
JARA 1.x helpers for JARA2 fitsdfidx jara1_compat jrplot_r jrplot_retrobias mixed.trend
Fit JARA2: state-space trend model and Red List assessmentjara2
Convert a JARA 'build_jara()' object to JARA2jarainput2jara2
Runs test and 3-sigma limits for residualsjr_runs
Compare JARA2 fits by AICjr2_aic
A JARA2 fit as a JABBA3 trend fitjr2_as_jb3trend
Prepare abundance data for JARA2jr2_data
Residual diagnostics tablejr2_diags
Change in abundance and IUCN Red List categories under criterion Ajr2_iucn
Joint indexjr2_jointindex
Generation length and maximum rate of increase from life historyjr2_lifehistory
Compare the JARA2 core with MARSSjr2_marss jrplot_marss
Joint indicator across stocks or sites (mixed trends)jr2_mixed
Priors for JARA2jr2_priors
Is the process error endogenous or exogenous?jr2_procdiag jrplot_procdiag
Retrospective analysis and hindcast cross-validationjr2_retro
Change over the assessment window by end yearjr2_rolling
Regime shifts in the process deviations (STARS)jr2_stars jrplot_stars
Current and projected state relative to a reference periodjr2_state jrplot_state
Effect of time block breaks on the rate of changejr2_tbeffect jrplot_tbeffect
Rates of change by time blockjr2_timeblock
JARA example datasetsjara.examples jrdat
Compare several JARA2 runsjrplot_compare
Plot covariate effectsjrplot_covariates
Hindcast cross-validation plotjrplot_hcxval
Plot joint indicatorsjrplot_mixed
Prior and posterior of the variance parametersjrplot_priorpost
Retrospective plotsjrplot_retro jrplot_retroiucn
Trajectories with the observationsjrplot_trjobs
JARA2 population and Red List plotsjrplots jrplot_changes jrplot_components jrplot_criteria jrplot_indices jrplot_iucn jrplot_poptrj jrplot_procdev jrplot_rate jrplot_rolling jrplot_timeblock
JARA plots from JABBA3jrplots_jb3 jrplot_fits jrplot_indexcor jrplot_jointindex jrplot_logfits jrplot_noise jrplot_PPC jrplot_q jrplot_residuals jrplot_runstest jrplot_trjfit jr_noise jr_qtable
Log-likelihood and AIC of a JARA2 fitlogLik.jara2
JARA2 summary plot with selectable panelsjaraplot2 plot.jara2
Summary of a JARA2 fitsummary.jara2