Package: jjmR 1.2020.1

Ricardo Oliveros-Ramos

jjmR: Graphics and diagnostics tools for SPRFMO's Joint Jack Mackerel model

Graphics and diagnostics tools for SPRFMO's Joint Jack Mackerel model.

Authors:Ricardo Oliveros-Ramos [cre, aut], Wencheng Lau-Medrano [aut], Giancarlo Moron [aut], Josymar Torrejon-Magallanes [aut], Niels Hintzen [aut], Enrique Ramos-Vasquez [ctb], Jim Ianelli [aut]

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

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

Bug tracker:https://github.com/sprfmo/jjmr/issues

On CRAN:

Conda:

5.14 score 3 stars 1 packages 102 scripts 88 exports 87 dependencies

Last updated from:ec3e1770ca. Checks:7 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develWARNING229
source / vignettesOK255
linux-releaseWARNING219
macos-releaseWARNING145
macos-oldrelWARNING159
windows-develWARNING156
windows-releaseWARNING133
windows-oldrelWARNING140
wasm-releaseOK111

Exports:.getJjmConfig%>%annotate_cohortscalc_mohn_rhochangeNameModelcombineModelscomp_fig_heightcompareModelsdiagnosticsextr_agefits_fshextr_agefits_srvextr_catchextr_catch_cvextr_cvextr_effnextr_fished_unfishedextr_francisextr_indicesextr_kobeextr_lenfits_fshextr_meanage_fshextr_meanage_srvextr_meanlen_fshextr_q_breaksextr_q_trajectoryextr_retroextr_sel_breaksextr_sel_fshextr_sel_srvextr_srextr_survey_skillextr_wtat_fshextr_wtat_srvfacet_fig_heightfixed_bmsyget_age_fitsget_catchabilitiesget_fishing_mortalityget_index_fitsget_len_fitsget_msy_mtget_recruitsget_selectivitiesget_totalsgethgettergray_ramphas_compjjm_labeljjm_pfa_palettekobemelt_matrixplot_catch_age_fitsplot_catch_age_residualsplot_catch_fleetplot_comp_fitsplot_comp_ridgeplot_effnplot_fished_unfishedplot_fishery_weightplot_fit_diagnosticsplot_francisplot_historic_retroplot_indices_v2plot_kobeplot_meanstatplot_metadata_overviewplot_q_trajectoryplot_retroplot_sel_ridgeplot_selectivitiesplot_srplot_summary_sheetplot_survey_skillplot_wtatplot_wtat_cohortread_historic_retroreadExFilesreadJJMreadJJMConfigreportretrorunitrunJJMstrong_cohortstheme_jjmtidy_JJMwriteJJM

Dependencies:backportsbase64encbootbroombslibcachemclicodetoolscolorspacecowplotcpp11deldirDerivdigestdoBydplyrevaluatefarverfastmapfontawesomeforcatsforeachforecastfracdifffsgenericsggplot2ggridgesgluegridExtragtablehighrhtmltoolsicesAdviceinterpisobanditeratorsjpegjquerylibjsonliteknitrlabelinglatticelatticeExtralifecyclelmtestmagrittrMASSMatrixmemoisemimemodelrnlmennetpatchworkPBSmodellingpillarpkgconfigpngpurrrR6rappdirsRColorBrewerRcppRcppArmadilloRcppEigenrlangrmarkdownS7sassscalesstringistringrtibbletidyrtidyselecttimeDatetinytexurcautf8vctrsviridisLitewithrxfunXMLyamlzoo

Readme and manuals

Help Manual

Help pageTopics
Create a jjm.config object.getJjmConfig
Annex diagnostic plotting helpersannex_diagnostics annotate_cohorts calc_mohn_rho comp_fig_height extr_agefits_fsh extr_agefits_srv extr_catch extr_catch_cv extr_cv extr_effn extr_fished_unfished extr_francis extr_indices extr_kobe extr_lenfits_fsh extr_meanage_fsh extr_meanage_srv extr_meanlen_fsh extr_q_breaks extr_q_trajectory extr_retro extr_sel_breaks extr_sel_fsh extr_sel_srv extr_sr extr_survey_skill extr_wtat_fsh extr_wtat_srv facet_fig_height has_comp jjm_label jjm_pfa_palette plot_catch_fleet plot_comp_fits plot_comp_ridge plot_effn plot_fished_unfished plot_fit_diagnostics plot_francis plot_historic_retro plot_indices_v2 plot_kobe plot_meanstat plot_metadata_overview plot_q_trajectory plot_retro plot_sel_ridge plot_sr plot_summary_sheet plot_survey_skill plot_wtat plot_wtat_cohort read_historic_retro strong_cohorts
Annotate strong cohort years on a ggplotannotate_cohorts
Calculate Mohn's rhocalc_mohn_rho
Change the internal name of a modelchangeNameModel
Coerce a vector to character or numericcoerce
Combine outputscombineModels
Calculate figure height for composition fitscomp_fig_height
Compare combined JJM outputscompareModels
Generate Assessment plots from single modeldiagnostics
Extract fishery age-composition fitsextr_agefits_fsh
Extract survey age-composition fitsextr_agefits_srv
Extract observed catch by fleetextr_catch
Extract catch observation CVsextr_catch_cv
Extract index CVsextr_cv
Extract input composition sample sizesextr_effn
Extract fished and unfished total biomassextr_fished_unfished
Calculate Francis T1.8 effective sample sizesextr_francis
Extract standardised survey index fitsextr_indices
Extract Kobe phase-plot dataextr_kobe
Extract fishery length-composition fitsextr_lenfits_fsh
Extract fishery mean age fitsextr_meanage_fsh
Extract survey mean age fitsextr_meanage_srv
Extract fishery mean length fitsextr_meanlen_fsh
Extract q break yearsextr_q_breaks
Extract q trajectoriesextr_q_trajectory
Extract retrospective dataextr_retro
Extract selectivity block break yearsextr_sel_breaks
Extract fishery selectivity-at-ageextr_sel_fsh
Extract survey selectivity-at-ageextr_sel_srv
Extract stock-recruitment pairs and curveextr_sr
Extract survey skill dataextr_survey_skill
Extract fishery weight-at-age dataextr_wtat_fsh
Extract survey weight-at-age dataextr_wtat_srv
Calculate figure height for faceted plotsfacet_fig_height
Calculate or input a fixed Bmsy value for the jjm model Updates the msy_mt table in the jjm output with new B/Bmsy ratios.fixed_bmsy
Get fits to indicesget_age_fits
Get estimated catchability coefficientsget_catchabilities
Get fishing mortality at ageget_fishing_mortality
Get fits to indicesget_index_fits
Get fits to length compositionsget_len_fits
Get and tidy msy_my tableget_msy_mt
Get estimated recruitsget_recruits
Get and tidy selectivity-at-age ogives over time by model and fleetget_selectivities
Get total metrics (biomass, spawning biomass, and recruitment)get_totals
Add hypothesis number to a model namegeth
Get elements of a list by string matching on namegetter
Compute a gray color rampgray_ramp
Check whether composition data are availablehas_comp
Build a publication label from a JJM model namejjm_label
JJM annex diagnostic palettesjjm_pfa_palette
Kobe plotkobe
Melt an age-or-length matrix into a long tibblemelt_matrix
Bar+line plot of observed vs predicted catch-at-ageplot_catch_age_fits
Bubble plot of catch-at-age residualsplot_catch_age_residuals
Plot catch by fleetplot_catch_fleet
Plot composition fits and residualsplot_comp_fits
Plot observed composition ridgesplot_comp_ridge
Plot input composition sample sizesplot_effn
Plot fished and unfished biomassplot_fished_unfished
Plot weight at age in the fisheryplot_fishery_weight
Plot standard index fit diagnosticsplot_fit_diagnostics
Plot Francis T1.8 reweighting diagnosticsplot_francis
Plot historical retrospective diagnosticsplot_historic_retro
Plot index fits with input CVsplot_indices_v2
Plot Kobe phase plotplot_kobe
Plot mean age or mean length fitsplot_meanstat
Plot metadata overviewplot_metadata_overview
Plot q trajectoriesplot_q_trajectory
Plot retrospective peelsplot_retro
Plot selectivity ridgesplot_sel_ridge
Plot selectivities by age, year, fleet, and modelplot_selectivities
Plot stock-recruitment relationshipplot_sr
Plot a summary diagnostics sheetplot_summary_sheet
Plot survey skill ROC curvesplot_survey_skill
Plot weight-at-age over timeplot_wtat
Plot weight-at-age by cohortplot_wtat_cohort
Plot method for jjm.diag objectsplot.jjm.diag
Plot diagnosticsplot.jjm.diagnostics
Plot method for jjm.output objectsplot.jjm.output
Print a jjm.config objectprint.jjm.config
Print method for jjm.diag objectsprint.jjm.diag
Print method for jjm.output objectsprint.jjm.output
Print a summary of jjm.configprint.summary.jjm.config
Print method for summary.jjm.diag objectsprint.summary.jjm.diag
Print method for summary.jjm.output objectsprint.summary.jjm.output
Read historical retrospective CSV dataread_historic_retro
Read external filesreadExFiles
Read a model or list of modelsreadJJM
Read dat and ctl files from disk to create a jjm.config object.readJJMConfig
Create a report from JJM outputsreport
Run a retrospective analysis diagnostic for a JJM modelretro
Fit, run, read and plot a JJM modelrunit
Run a JJM modelrunJJM
Run JJM models (default method)runJJM.default
Run JJM models for jjm.configrunJJM.jjm.config
Run JJM models for jjm.outputrunJJM.jjm.output
Identify strong cohortsstrong_cohorts
Summarize a jjm.config objectsummary.jjm.config
Summary method for jjm.diag objectssummary.jjm.diag
Summarize all diagnostics from a jjm runsummary.jjm.diagnostics
Summary method for jjm.output objectssummary.jjm.output
ggplot2 theme for jjmRtheme_jjm
Tidy results of JJM modeltidy_JJM
Write dat and ctl files from a JJM model stored in RwriteJJM