getRandomParameters: Random model parameters

View source: R/model.R

getRandomParametersR Documentation

Random model parameters

Description

Random model parameters with constraints in Fmsy and relative recruitment (Rrel = R/Rmax)

Shorthand function for a specific asymptotic weight

Usage

getRandomParameters(parameter.names = c("A", "n", "eta_m", "eta_F", "a", "Fm",
  "Winf", "epsilon_a", "epsilon_r"), parameter.value = c(4.5, 0.75, 0.25,
  0.05, 0.35, 0.25, 10000, 0.8, 0.1), parameter.sd = c(0, 0, 0, 0.5, 0, 0, 0,
  0, 0), parameter.cv = c(0.5, 0, 0.3, 0, 0.5, 0, 0, 0.1, 0.5),
  parameter.lbound = c(0, 0, 0.01, 0, 0.01, 0, 0, 0, 0),
  parameter.ubound = c(Inf, 0, Inf, Inf, Inf, 0, 0, 0.99, Inf),
  parameter.unif = c(F, F, F, F, F, F, F, F, F), Rrel.gt = -Inf,
  Fmsy.gt = 0)

getRandomParameters.fixedWinf(winf, Rrel.gt = -Inf, Fmsy.gt = 0)

Arguments

parameter.names

Character vector. Names of the parameters

parameter.value

Numeric vector. Parameter mean values

parameter.sd

Numeric vector. Standard deviation of the parameters

parameter.cv

Numeric vector. Coefficient of variation of log transformed parameters

parameter.lbound

Numeric vector. Lower bound of the distributions

parameter.ubound

Numeric vector. Upper bound of the distributions

parameter.unif

Logical vector. Use uniformly distributed parameters

Rrel.gt

Numeric. Relative recruitment constraint. It allows parameters that lead to Rrel at least equal to Rrel.gt

Fmsy.gt

Numeric. Fmsy constraint. It allows parameters that lead to Fmsy at least equal to Fmsy.gt

winf

Numeric. Asymptotic weight

Value

Parameters

Parameters

Author(s)

alko

alko


alko989/s6model documentation built on Nov. 2, 2023, 10:04 p.m.