LSRA_opt_cpp: Internal estimation function for LSRA and LSRA2 functions

Description Usage Arguments Author(s)

View source: R/RcppExports.R

Description

Rcpp version of R code

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
LSRA_opt_cpp(
  param,
  FF_a,
  Chist,
  M_a,
  Mat_age_a,
  Wt_age_a,
  sel_a,
  Recdevs_a,
  h_a,
  Umax
)

Arguments

param

a numeric value representing log(R0)

FF_a

numeric value, recent fishign mortality rate (apical F)

Chist

a vector of historical catch observations [nyears]

M_a

numeric value, natural mortality rate

Mat_age_a

a vector of maturity at age [nage]

Wt_age_a

a vector of weight at age [nage]

sel_a

a vector of selectivity at age [nage]

Recdevs_a

a vector of recruitment deviations [nyears]

h_a

a numeric value of steepness values of the Bev-Holt Stock-Recruitment relationship

Umax

maximum harvest rate per year

Author(s)

T. Carruthers with an amateur attempt at converting to Rcpp by A. Hordyk (but it works!)


DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.