Learn R Programming

DLMtool (version 5.2)

ForceCor: Forces correlation among operating model parameters for M, K, Linf and L50

Description

Uses typical correlations among estimated parameters to generate realistic samples for natural mortality rate (M), growth rate (K), maximum length (Linf) and length at 50

Usage

ForceCor(OM, nsim = 48, plot = T)

Arguments

OM

An operating model object with M, growth, stock-recruitment and maturity parameters specified.

nsim

The number of simulated values to create (note that OM@nsim will be used preferentially).

plot

Should the sampled parameters and distributions be plotted?

Value

An object of class OM with a populated (or appended) cpars slot

Examples

Run this code
# NOT RUN {
testOM<-ForceCor(testOM)
# }

Run the code above in your browser using DataLab