ar1rlnorm: Generates a time series of possible bias-corrected lognormal...

View source: R/oem.R

ar1rlnormR Documentation

Generates a time series of possible bias-corrected lognormal autocorrelated random values

Description

Thorston, 2020.

Usage

ar1rlnorm(
  rho,
  years,
  iters = 1,
  meanlog = 0,
  sdlog = 1,
  bias.correct = TRUE,
  ...
)

Arguments

rho

Autocorrelation coefficient.

years

Vector of year names.

iters

Number of iterations.

meanlog

Mean of the series in log space.

sdlog

Marginal standard deviation in log space.

bias.correct

Should bias-correction be applied? Defaults to TRUE.

Value

An FLQuant object

Author(s)

Iago Mosqueira (WMR), Henning Winker (JRC).

References

Thorson, J. T. Predicting recruitment density dependence and intrinsic growth rate for all fishes worldwide using a data-integrated life-history model. Fish Fish. 2020; 21: 237– 251. https://doi-org.ezproxy.library.wur.nl/10.1111/faf.12427

See Also

rlnorm

Examples

devs <- ar1rlnorm(rho=0.6, years=2000:2030, iter=500, meanlog=0, sdlog=1)
plot(devs)

flr/FLCore documentation built on May 4, 2024, midnight