Utility functions for the Stox Project. R package, updated 2025-09-12.
This package contains utility functions for stock assessment and data flow within the Institute of Marine Research (IMR). The package has two purposes: 1) To function as a showcase and developmental platform for functions that may be included in the future releases of the Stox Project. 2) To provide a collection of functions needed in the internal workflow of the Deep-sea species group at IMR.
The package requires the RstoxData Stox project package to function. These packages can be installed by following the links for each package or using the devtools package. The RstoxUtils package can be installed using devtools once all Stox project packages are installed correctly.
devtools::install_github("DeepWaterIMR/RstoxUtils", upgrade = "never")The RstoxUtils uses multiple GIS packages developed for R. You may have to update these (Packages -> Update -> Select all -> Install updates in R Studio).
If the installation of a dependency fails, try installing those packages manually (using RStudio or install.packages).
See the website, function reference and specific articles for the use of the package:
Note that the strata functions from this package have been moved to the RstoxStrata package and the entire IMR Biotic database can be accessed using the BioticExplorerServer package
When using use the package for stock assessment or scientific articles, please cite it:
citation("RstoxUtils")
#> To cite package 'RstoxUtils' in publications use:
#>
#> Vihtakari M (2025). _RstoxUtils: Utility Functions for the Stox
#> Project Within the Institute of Marine Research, Norway_. R package
#> version 0.4.0, <https://github.com/DeepWaterIMR/RstoxUtils>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {RstoxUtils: Utility Functions for the Stox Project Within the Institute of Marine Research, Norway},
#> author = {Mikko Vihtakari},
#> year = {2025},
#> note = {R package version 0.4.0},
#> url = {https://github.com/DeepWaterIMR/RstoxUtils},
#> }Any contributions to the package are more than welcome. Please contact the package creator Mikko Vihtakari (mikko.vihtakari@hi.no) to discuss your ideas on improving the package or place a request in the issues section.