Learn R Programming

DLMtool (version 5.2)

LSRA_opt_cpp: Internal estimation function for LSRA and LSRA2 functions

Description

Rcpp version of R code

Usage

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