len.sim: function to generate survey (pulse) and continuous LFDs

View source: R/OMsim.R

len.simR Documentation

function to generate survey (pulse) and continuous LFDs

Description

function to generate survey (pulse) and continuous LFDs

Usage

len.sim(
  N_a,
  params,
  model = vonbert,
  ess = 250,
  timing = seq(0, 11/12, 1/12),
  unit = "cm",
  scale = TRUE,
  reflen = NULL,
  bin = 1,
  cv = 0.1,
  lmin = 5,
  lmax = 1.2
)

Arguments

N_a

numbers at age sample

params

growth parameter, default FLPar(linf,k,t0)

model

growth model, only option currently vonbert

ess

effective sample size

timing

t0 assumed 1st January, default seq(0,11/12,1/12), but can be single event 0.5

unit

default is "cm"

scale

if TRUE scaled to N_a input

reflen

evokes fixed sd for L_a at sd = cv*reflen

bin

length bin size, dafault 1

cv

variation in L_a

lmin

minimum length

lmax

maximum upper length specified lmax*linf

Value

FLQuant for length


Henning-Winker/FLRef documentation built on Oct. 10, 2024, 2:35 p.m.