Title: | The Fisheries Integrated Modeling System |
---|---|
Description: | The Fisheries Integrated Modeling System is a next-generation framework of stock assessment models, assisting fishery managers with the goal of achieving sustainable fisheries. This system, when completed in a few years, offers the NOAA Fisheries and global fisheries science communities an advanced set of stock assessment models. These tools can be used separately or in combination to incorporate ecosystem and socioeconomic data and models, as well as climate effects and other drivers within the marine environment, into stock assessment models. |
Authors: | Christine Stawitz [aut, cre] , Nathan Vaughan [aut], Howard Townsend [aut], Ian G. Taylor [aut] , Matthew Supernaw [aut], Jane Sullivan [aut], Kyle Shertzer [aut] , Megumi Oshima [aut], Cole C. Monnahan [aut] , Timothy J. Miller [aut] , Richard Methot [aut], Patrick Lynch [aut] , Bai Li [aut] , Huihua Lee [aut], Christopher M. Legault [aut] , Kelli F. Johnson [aut] , James N. Ianelli [aut] , Alan Haynie [aut], Andrea M. Havron [aut] , Kathryn L. Doering [aut] , Edward J. Dick [aut] , Jon Brodziak [aut], Kristan Blackhart [aut], Peter Kuriyama [aut] |
Maintainer: | Christine Stawitz <[email protected]> |
License: | GPL (>= 3) | file LICENSE |
Version: | 0.2.0.0 |
Built: | 2024-10-24 06:31:49 UTC |
Source: | https://github.com/noaa-fims/fims |
A dataset containing information necessary to run an age-structured stock
assessment model in FIMS for milestone 1. This data was generated using
the ASSAMC
package written for the model comparison project.
data_mile1
data_mile1
A data frame with 1140 observations of 8 variables:
The type of data the row contains. Allowed types include
age
, index
, landings
, and weight-at-age
data.
A character string providing the name of the information source
that the data was collected from, e.g., "Trawl fishery"
An integer age. Entry can be NA
if information pertains to
multiple ages, e.g., total catch rather than catch of age-4 fish.
Start and end dates of the data collection period.
Format all dates using yyyy-mm-dd
, which can accommodate fake years
such as 0001-01-01
.
The measurement of interest.
A character string specifying the units of value
. Allowed
units for each data type are as follows. mt
is used for index
,
landings
, and weight-at-age
data. number
or proportion
are each
viable units for the composition data, where the former is the preferred
unit of measurement.
A real value providing a measurement of uncertainty for value. For catches and survey indices of abundance this should be the standard deviation of the logged observations if you are using the lognormal distribution to fit your data. For composition data it will be your input sample size.
www.github.com/Bai-Li-NOAA/Age_Structured_Stock_Assessment_Model_Comparison
FIMSFrame
and associated child classesAll constructor functions take a single input and build an object specific to
the needs of each model type within FIMS. FIMSFrame
is the
parent class and the associated child classes have additional slots needed
for each model type.
FIMSFrame(data)
FIMSFrame(data)
data |
A |
An object of the S4 class FIMSFrame
or one of its child classes is
validated and then returned. All objects will at a minimum have a slot
called data
to store the input data frame. Additional slots are dependent
on the child class. Use showClass()
to see all available slots.
Get the age-composition data to be used in the model
m_agecomp(x, fleet_name)
m_agecomp(x, fleet_name)
x |
The object containing the age-composition data. |
fleet_name |
The name of the fleet for the age-composition data. |
Get the age-composition data data to be used in the model
## S4 method for signature 'FIMSFrame' m_agecomp(x, fleet_name)
## S4 method for signature 'FIMSFrame' m_agecomp(x, fleet_name)
x |
The FIMSFrame containing age-composition data. |
fleet_name |
The name of the fleet for the age-composition data. |
Get the index data to be used in the model
m_index(x, fleet_name)
m_index(x, fleet_name)
x |
The object containing index. |
fleet_name |
The name of the fleet for the index data. |
Get the index data to be used in the model
## S4 method for signature 'FIMSFrame' m_index(x, fleet_name)
## S4 method for signature 'FIMSFrame' m_index(x, fleet_name)
x |
The FIMSFrame object containing index. |
fleet_name |
The name of the fleet for the index data. |
Get the landings data to be used in the model
m_landings(x)
m_landings(x)
x |
The object containing landings. |
Get the landings data to be used in the model
## S4 method for signature 'FIMSFrame' m_landings(x)
## S4 method for signature 'FIMSFrame' m_landings(x)
x |
The FIMSFrame object containing landings. |
Intended for developers to run the google test suite from R.
run_gtest(...)
run_gtest(...)
... |
Additional arguments to |
Intended for developers to set up their local environment and run the google test suite from R.
setup_and_run_gtest(...)
setup_and_run_gtest(...)
... |
Additional arguments to |
Intended for developers to set up their local environment prior to running the integration tests.
setup_gtest()
setup_gtest()
## Not run: setup_gtest() ## End(Not run)
## Not run: setup_gtest() ## End(Not run)