diff --git a/docs/404.html b/docs/404.html index 0c3bfe5..d448195 100644 --- a/docs/404.html +++ b/docs/404.html @@ -61,16 +61,16 @@ Conducting Multiyear Projections
Copyright (c) 2024 afscOM authors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
diff --git a/docs/articles/index.html b/docs/articles/index.html index 8c286a9..cb999fc 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -44,16 +44,16 @@ Conducting Multiyear ProjectionsVignetttes describing various aspects of afscOM
+A curated listed of fisheries models built using afscOM
- -compute_bio.Rd
Compute biomass from a matrix of NAA and a set of demographic +parameters. This computes the sum of male and female biomass +across all age classes. For mature female biomass, see +`compute_ssb`.
+compute_bio(naa, dem_params)
numbers-at-age matrix [nyears, nages, nsexes, nregions]
demagraphic parameters list
compute_fleet_catch.Rd
Compute total catch volume (in mt) for each fishing +fleet from a matrix of CAA.
+compute_fleet_catch(caa)
catch-at-age matrix [nyears, nages, nsexes, nregions, nfleets]
compute_ssb.Rd
Compute Spawning Stock Biomass -#' -Compute SSB from a matrix of NAA and a set of demagraphic +
Compute SSB from a matrix of NAA and a set of demographic parameters.
numbers-at-age matrix
numbers-at-age matrix [nyears, nages, nsexes, nregions]
compute_total_catch.Rd
Compute total catch volume (in mt) from a matrix of CAA.
+compute_total_catch(caa)
catch-at-age matrix [nyears, nages, nsexes, nregions, nfleets]
compute_total_f.Rd
Compute total fishing mortality from a matrix of FAA. +Note that this is an approximation of total fishing mortality, +and assumes that selectivity = 1 for some age class.
+compute_total_f(faa)
fushing-mortality-at-age matrix [nyears, nages, nsexes, nregions, nfleets]
cyclic_recruitment.Rd
Description
+cyclic_recruitment(n, mu_rec, sd_rec, dur, start = 1, seed = NA)
number of recruitment events
vector of mean log-recruitment levels, one for each regime
vector of recruitment variation, one for each regime
duration of regimes
which regime to start in
a random seed (optional)
`n` log-recruitment levels from two different regimes of +length `dur`.
+if (FALSE) {
-findF_bisection(f_guess=0.1, naa=naa, waa=waa, mort=mort, selex=selex, prov_catch=12)
-}
-
-
if (FALSE) {
+findF_bisection(f_guess=0.1, naa=naa, waa=waa, mort=mort, selex=selex, prov_catch=12)
+}
+
if (FALSE) {
-find_F(f_guess=0.1, naa=naa, waa=waa, mort=mort, selex=selex, prov_catch=0.12)
-}
-
-
if (FALSE) {
+find_F(f_guess=0.1, naa=naa, waa=waa, mort=mort, selex=selex, prov_catch=0.12)
+}
+
instantaneous rate to harvest rate
Baranov Catch Equation
catch_at_age()
Catch-at-age
Compute Total Stock Biomass
Compute Catch by Fishing Fleet
Compute Spawning Stock Biomass -#' -Compute SSB from a matrix of NAA and a set of demagraphic -parameters.
Compute Spawning Stock Biomass
Compute Total Catch
Compute Total Fishing Mortality
Generate log-recruitment from two defined regimes of a specified length
find_F()
Find F given a desired level of catch
instantaneous rate to harvest rate
mu_to_F()
harvest rate to instantaneous
Plot demographic parameters
Plot Maturity-at-Age
Plot Mortality
Plot Selectivity-at-Age and Retention-at-Age
Plot Weight-at-Age
sablefish_dem_params
Demographic parameter matrices for Alaska Sablefish
Set Default Values for Model Options
Setup model parameters
Set Default Values for Model Options
OM Components for a Simple Simulation
simulate_rpw()
Simulate Relative Population Weight Index
Spatial Sablefish Assessment
plot_demographic_parameters.Rd
Generate standard plot for all demographic +parameter matrices. Output plots will include: +- weight-at-age +- maturity +- natural mortality +- selectivity +- retention +- discard mortality +Plots will show values of demographic quantities across +time, age, sex, region, and fleet as appropriate.
+plot_demographic_parameters(
+ dem_params,
+ params = NA,
+ show_plots = TRUE,
+ out_dir = NA,
+ ...
+)
list of demographic parameter matrices
vector of names of parameters to plot (not implemented)
optional directory to save plots to
additional parameters to be passed to `ggsave`
plot_mat.Rd
Generates plot of maturity-at-age across time, age, sex, +and region as appropriate. Only the female maturity ogive +is plotted.
+plot_mat(mat)
four-dimensional maturity-at-age matrix
plot_mort.Rd
Generates plot of mortality-at-age across time, age, sex, +and region as appropriate. This function can be used for +both natural and discard mortality
+plot_mort(mort, is_dmr = FALSE)
four-dimensional mortality-at-age matrix
plot_selret.Rd
Generates plot of selectivity-at-age or retention-at-age +across time, age, sex, region, and fleet as appropriate.
+plot_selret(selret, is_selectivity = TRUE)
five-dimensional selectivity-at-age or +retention-at-age matrix
plot_waa.Rd
Generates plot of weight-at-age across time, age, sex, +and region as appropriate.
+plot_waa(waa)
four-dimensional weight-at-age matrix
project(removals, fleet.props, dem_params, prev_naa, recruitment, options = NA)
project(removals, dem_params, prev_naa, recruitment, options = NA)
population removals (either in catch or F units)
the proportion of the TAC allocated to each fleet
list of demographic parameter matrices
total recruiment to occurin this year
the proportion of the TAC allocated to each fleet
additional model options
A wrapper function around the base `project` function that handles -projecting forward multiple years given a removals timeseries and a +projecting forward multiple years given a removals timeseries and a recruitment timeseries.
Draw `n` random samples, with replacement, from the +
Draw `n` random samples, with replacement, from the historical recruitment timeseries.
A list containing assessment data:
+A list containing assessment data
A list containing demographic matrices:
+A list containing demographic matrices
if (FALSE) {
+ dimensions = list(nyears=60, nages=50, nsexes=2, nregions=1, nfleets=1)
+ model_options = setup_model_options(dimensions)
+}
+
simulate_catch(removals, fleet.props, dem_params, naa, options)
simulate_catch(removals, dem_params, naa, options)
desired removals either in catch or F units
the proportion of the TAC that should be taken by each fleet
demographic parameter matrices for population
the current numbers-at-age in the population
the proportion of the TAC that should be taken by each fleet
list of model options
if (FALSE) {
-simulate_lognormal_obs(10, 0.20)
-}
-
-
if (FALSE) {
+simulate_lognormal_obs(10, 0.20)
+}
+
if (FALSE) {
-simulate_multinomial_obs(c(0.25, 0.50, 0.25), 100)
-}
-
-
if (FALSE) {
+simulate_multinomial_obs(c(0.25, 0.50, 0.25), 100)
+}
+
if (FALSE) {
-simulate_population(prev_naa, faa, recruitment, dem_params, options)}
-
-
if (FALSE) {
+simulate_population(prev_naa, faa, recruitment, dem_params, options)}
+
spatial_sablefish_assessment_data.Rd
Demographic parameter inputs and estimated +derived quantities (selectivity, spawning biomass timeseries, +fishing mortality, etc.) from a run of the SpatialSablefishAssessment +model (https://craig44.github.io/SpatialSablefishAssessment/index.html). +Model developed by Craig Marsh. Data are considered preliminary.
+spatial_sablefish_assessment_data
A list of data inputs and model outputs
+Helper function for validating that all required demographic -parameter matrices have been defined and that they are all of +parameter matrices have been defined and that they are all of the correct dimension.
Required demographic parameters are: mort, waa, sexrat, sel, +
Required demographic parameters are: mort, waa, sexrat, sel, ret, dmr, and surv_sel
Expected dimensions are: [nyears, nages, nsexes, nregions, nfleets]