Learn R Programming

MSEtool (version 3.0.0)

simCAA: Simulate Catch-at-Age Data

Description

CAA generated with a multinomial observation model from retained catch-at-age data

Usage

simCAA(nsim, yrs, n_age, Cret, CAA_ESS, CAA_nsamp)

Arguments

nsim

Number of simulations

yrs

Number of years

n_age

Number of age classes

Cret

Retained Catch at age in numbers - array(sim, years, maxage+1)

CAA_ESS

CAA effective sample size

CAA_nsamp

CAA sample size

Value

CAA array