Package 'gadget2'

Title: Gadget is the Globally-Applicable Area Disaggregated General Ecosystem Toolbox
Description: A statistical ecosystem modelling package, taking many features of the ecosystem into account. Gadget works by running an internal model based on many parameters, and then comparing the data from the output of this model to real data to get a goodness-of-fit likelihood score. These parameters can then be adjusted, and the model re-run, until an optimum is found, which corresponds to the model with the lowest likelihood score. Gadget allows the user to include a number of features into an ecosystem model: One or more species, each of which may be split into multiple stocks; multiple areas with migration between areas; predation between and within species; maturation; reproduction and recruitment; multiple commercial and survey fleets taking catches from the populations. For more details see <https://gadget-framework.github.io/gadget2/>. This is the C++ Gadget2 runtime, making it available for R.
Authors: Bjarki Thor Elvarsson [aut, cre], James Begley [aut], Hoskuldur Bjornsson [aut], Jamie Lentin [ctb], Gunnar Stefansson [ctb], Lorna Taylor [ctb], Daniel Howell [ctb], Sigurdur Hannesson [ctb], Narfi Stefansson [aut], Hersir Sigurgeirsson [ctb], Morten Nygard Asnes [ctb], Kristin Froysa [ctb], Audbjorg Jakobsdottir [ctb], Jon Gudmundsson [ctb], Gudmundur Einarsson [ctb], Thordis Linda Thorarinsdottir [ctb], Kristjana Yr Jonsdottir [ctb], Mark G. Johnson [ctb, cph], Bill Goffe [ctb, cph], Marine and Freshwater Research Institute (Iceland) [cph]
Maintainer: Bjarki Thor Elvarsson <[email protected]>
License: GPL-2
Version: 2.3.11
Built: 2024-11-09 04:21:51 UTC
Source: https://github.com/cran/gadget2

Help Index


Return the location of the gadget binary installed by this package

Description

Return the location of the gadget binary installed by this package

Usage

gadget_binary()

Value

File path, e.g. "/usr/local/lib/R/site-library/gadget/bin/gadget"

Examples

# Run gadget, capture help output
help_output <- system2(gadget_binary(), '-h', stdout = TRUE)