Package: Rpath 1.1.0

Kerim Aydin

Rpath: R implementation of Ecopath with Ecosim

This package implements the core mass balance equations made popular by Ecopath with Ecosim. There are two parts to the package, the static snapshot of energy flow through the system using rpath and dynamic simulations run using the rsim family of functions.

Authors:Kerim Aydin [aut, cre], Sean Lucey [aut], Sarah Gaichas [aut], Sarah Weisberg [aut], Andy Whitehouse [aut], Bia Dias [ctb], Ron Klasky [ctb], Andy Beet [ctb], Max Grezlik [ctb]

Rpath_1.1.0.tar.gz
Rpath_1.1.0.zip(r-4.7)Rpath_1.1.0.zip(r-4.6)Rpath_1.1.0.zip(r-4.5)
Rpath_1.1.0.tgz(r-4.6-x86_64)Rpath_1.1.0.tgz(r-4.6-arm64)Rpath_1.1.0.tgz(r-4.5-x86_64)Rpath_1.1.0.tgz(r-4.5-arm64)
Rpath_1.1.0.tar.gz(r-4.7-arm64)Rpath_1.1.0.tar.gz(r-4.7-x86_64)Rpath_1.1.0.tar.gz(r-4.6-arm64)Rpath_1.1.0.tar.gz(r-4.6-x86_64)
Rpath_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
Rpath/json (API)
NEWS

# Install 'Rpath' in R:
install.packages('Rpath', repos = c('https://noaa-fisheries-integrated-toolbox.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/noaa-edab/rpath/issues

Pkgdown/docs site:https://noaa-edab.github.io

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

On CRAN:

Conda:

cpp

7.93 score 41 stars 136 scripts 46 exports 39 dependencies

Last updated from:55fe84d6dc. Checks:11 WARNING, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64WARNING181
linux-devel-x86_64WARNING180
source / vignettesOK296
linux-release-arm64WARNING190
linux-release-x86_64WARNING181
macos-release-arm64WARNING138
macos-release-x86_64WARNING308
macos-oldrel-arm64WARNING116
macos-oldrel-x86_64WARNING267
windows-develWARNING143
windows-releaseWARNING148
windows-oldrelWARNING175
wasm-releaseOK126

Exports:adjust.fishingadjust.forcingadjust.scenariocheck.rpath.paramscreate.rpath.from.eiixmlcreate.rpath.paramsextract.nodefrate.tableget.rsim.fishingget.rsim.forcingget.rsim.paramsget.rsim.stanzasget.rsim.start_stateggwebplotimport.eiixmlMTIread.rpath.paramsrpathrpath.consumersrpath.detritalrpath.gearsrpath.groupsrpath.livingrpath.mixotrophsrpath.producersrpath.stanzasrsim.derivrsim.dietrsim.fishingrsim.forcingrsim.mortrsim.paramsrsim.plotrsim.runrsim.scenariorsim.sensersim.stanzasrsim.statersim.stepset.rsim.scenestanzaplotsummarize.for.webplotwebplotwrite.Rpathwrite.rpath.paramswrite.Rsim

Dependencies:clicpp11data.tabledplyrfarvergenericsggplot2ggrepelgluegtablehmsisobandjanitorlabelinglifecyclelubridatemagrittrMASSpillarpkgconfigpurrrR6RColorBrewerRcpprlangS7scalessnakecasestringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithrxml2

Convert EwE to Rpath

Rendered fromConvert_EwE_to_Rpath.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-09-05
Started: 2025-09-05

Create a static food web model in Rpath

Rendered fromRunRpath.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-06-18
Started: 2024-05-31

Generating an Rsim ensemble with Ecosense

Rendered fromecosense.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-06-18
Started: 2024-05-31

Rpath: an open source food web model

Rendered fromRpath.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-06-18
Started: 2019-06-15

Run a dynamic food web simulation in Rsim

Rendered fromRunRsim.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-06-18
Started: 2024-05-31

Set up a food web model

Rendered fromModelSetup.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-09-05
Started: 2024-05-31

UnitTests

Rendered fromUnitTests.Rmdusingknitr::rmarkdownon Jun 07 2026.

Last update: 2025-06-18
Started: 2024-05-31

Readme and manuals

Help Manual

Help pageTopics
AB.paramsAB.params
Adjust Fishing Mortalityadjust.fishing
Adjust Forcing Parametersadjust.forcing
Adjust Rsim.scenario parametersadjust.scenario
Check Rpath parameter filescheck.rpath.params
Creates an Rpath object from an EwE exported model (EIIXML format)create.rpath.from.eiixml
Creates a shell for the Rpath.params objectcreate.rpath.params
Eastern Bering Sea 1990s Ecopath modelEcosense.EBS
Eastern Chukchi Sea Ecopath modelEcosense.ECS
Gulf of Alaska (west/central) 1990s Ecopath modelEcosense.GOA
Extract node/group data from an Rsim runextract.node
Fishing Mortality Tablefrate.table
Retrieve fishing forcing parameters from an Rsim scenarioget.rsim.fishing
Retrieve forcing parameters from an Rsim scenarioget.rsim.forcing
Retrieve parameters from an Rsim scenarioget.rsim.params
Retrieve stanza parameters from an Rsim scenarioget.rsim.stanzas
Retrieve starting state values from an Rsim scenarioget.rsim.start_state
ggplot routine for Rpath food webggwebplot
Reads in EwE exported XML file and parses into data framesimport.eiixml
Quantify mixed trophic impactsMTI
Read Rpath parameters from .csv filesread.rpath.params
REco.paramsREco.params
Ecopath module of Rpathrpath
List of Rpath consumer groupsrpath.consumers
List of Rpath detrital groupsrpath.detrital
List of Rpath gears groupsrpath.gears
Rpath functional group namesrpath.groups
List of Rpath living groupsrpath.living
List of Rpath mixotroph groupsrpath.mixotrophs
List of Rpath producer groupsrpath.producers
Calculate biomass and consumption for multistanza groupsrpath.stanzas
Calculate the derivatives for a time steprsim.deriv
Output consumption of each prey by an individual predator group from Rsim runrsim.diet
Initialize fishing matrix for Rsim scenariorsim.fishing
Initialize forcing matrix for Rsim scenariorsim.forcing
Output biomass removed by each predator for an individual prey group from Rsim runrsim.mort
Initial set up for Rsim dynamic simulationrsim.params
Plot routine for Rsim runsrsim.plot
Run a dynamic simulationrsim.run
Specify a dynamic simulation scenariorsim.scenario
Ecosense function for Rpathrsim.sense
Initialize list of age structured group (stanza) parameters for dynamic simulationrsim.stanzas
Initialize starting state matrix for Rsim scenariorsim.state
Function to add a time step to an Rsim runrsim.step
Set Rsim.scenario parametersset.rsim.scene
Plot routine for Ecopath multistanzasstanzaplot
Plot routine for Ecopath food webwebplot
Write function for Rpath food web objectwrite.Rpath
Write Rpath parameters to .csv fileswrite.rpath.params
Write function for Rsim runwrite.Rsim