simulation: Generates stochastic length and age-length samples to run a...

Description Usage Arguments Details

Description

Simulate data for the assessment model.

Usage

1
2
simulation(RBdata, pars, N = c(50, 100), CV_L_stock = 0,
  CV_stock_d = 0, seed = 1L)

Arguments

RBdata

RBdata object used for setting up the simulation.

pars

Matrix of parameters. See details.

N

Numeric vector of length two for the number of age-length and length samples.

CV_L_stock

Numeric, the CV of length at stocking among simulations.

CV_stock_d

Numeric, the CV of stocking density among simulations.

seed

Integer, for replicating random number generation.

Details

The pars matrix should be nsim rows long and have columns.


quang-huynh/RBassess documentation built on May 8, 2019, 7:30 a.m.