getSigmaR: Extract Recruitment sigma

View source: R/getSigmaR.R

getSigmaRR Documentation

Extract Recruitment sigma

Description

Extract sigma R (recruitment variability) that was used in a model, as indicated in the Dev$sigmaR model component.

Usage

getSigmaR(model, digits=NULL)

Arguments

model

fitted scape model containing element Dev.

digits

digits

number of decimal places to use when rounding, or NULL to suppress rounding.

Value

Vector of two numbers, representing recruitment variability in (1) the estimated age composition in the first year, and (2) subsequent annual recruitment.

Note

Thin wrapper to access model$Dev$sigmaR, providing a uniform interface with other get* and est* functions.

See discussion in the estSigmaR documentation.

See Also

getN, getSigmaI, getSigmaR, estN, estSigmaI, and estSigmaR extract and estimate sample sizes and sigmas.

Examples

getSigmaR(x.cod)  # sigmaR used in assessment 0.5 and 1.0
estSigmaR(x.cod)  # model estimates imply 0.20 and 0.52

getSigmaR(x.ling)  # 0.6, deterministic age distribution in first year
estSigmaR(x.ling)  # model estimates imply 0.36

getSigmaR(x.sbw)
estSigmaR(x.sbw)  # large deviates in first year
plotN(x.sbw)      # enormous plus group and 1991 cohort

# x.oreo assessment had deterministic recruitment, so no deviates

arnima-github/scape documentation built on Jan. 17, 2024, 2:39 p.m.