lhEql: Derives an 'FLBRP' from life history parameters

bhzR Documentation

Derives an FLBRP from life history parameters

Description

Takes an FLPar object with life history and selectivity parameters and generates a corresponding FLBRP object. Can use a range of functional forms.

Usage

bhz(lfd, par)

Arguments

params

an FLPar object with life history parameters

growth

function that takes an FLPar object with parameters, by default vonB

m

character takes the natural mortality model name, by default gislason

mat

function that takes an FLPar object with parameters, by default logistic

sel

function that takes an FLPar object with parameters, by default dnormal

sr

character value, "bevholt" by default

range

numeric with age range by default from 0 to 40

spwn

numeric give propotion of year when spawning occurs, by default is params"a50"-floor(params"a50")

fish

numeric give propotion of year when fishing occurs, by default 0.5

units

character for vectors in FLBRP returned by method

midyear

when growth measured, default 0.5

...

any other arguments

Value

FLBRP object

See Also

lhPar, lhRef

vonB lorenzen sigmoid

Examples

## Not run: 
load("lfd.1.RData")
load("design.RData")
par=lhs[["Pollachius pollachius"]]
par=rbind(FLPar("lc"=FLife:::vonB(par["sel1"],par)),par)
z=bhz(lfd,par)
plot(z)

## End(Not run)




laurieKell/FLCandy documentation built on April 17, 2025, 5:23 p.m.