sGenSolver: Solve for sGen

View source: R/calcBenchmarks.R

sGenSolverR Documentation

Solve for sGen

Description

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

Usage

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

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)

CamFreshwater/samSim documentation built on Sept. 25, 2023, 10:22 a.m.