getSigmaR: Extract Recruitment sigma

Description Usage Arguments Value Note See Also Examples

View source: R/getSigmaR.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

scape documentation built on Nov. 23, 2020, 5:08 p.m.