sGenSolver: Solve for sGen

Description Usage Arguments Value Examples

View source: R/calcBenchmarks.R

Description

This function solves for sGen based on sMSY and the log-likelihood estimated in sGenOptimum.

Usage

1
sGenSolver(theta, sMSY)

Arguments

theta

A numeric vector of Ricker stock recruit parameters: alpha, beta, and sigma.

sMSY

A numeric of spawner abundance estimated to result in maximum sustainable yield.

Value

Returns a numeric that is the spawner abundance that minimizes the the log likelihood.

Examples

1
2
3
4
5
6
7
8
#Stock-recruit parameters approximate those of Fraser River sockeye salmon
#Chilko CU.
alpha = 1.2
beta = 1.5
sigma = 0.8
theta = c(alpha, beta, sigma)
sMSY = 0.3
sGenSolver(theta, sMSY)

TESA-workshops/TESAsamSim documentation built on Feb. 6, 2021, 12:25 a.m.