Define a species
Usage
species(
species,
common_name = "",
lh,
msy,
sel,
relq,
productivity = "",
id = NULL
)
validate_species(x, fishery = NULL)Arguments
- species
scientific name.
- common_name
common name.
- lh
named list or vector of life-history parameters:
linf,k,t0(von Bertalanffy, cm and years),a,b(W = aL^b, g and cm),lm(length at 50% maturity, cm),tm(age at 50% maturity),tmax(maximum age, also the plus group),M(natural mortality),s(steepness),sigR(recruitment SD) andrho(recruitment autocorrelation, used whenbuild_om(ar1 = TRUE)).- msy
target MSY (t) used to scale the stock.
- sel
named list of
selectivity()objects, one per fleet.- relq
named numeric vector of relative catchability by fleet: apical F of fleet f is
relq[f] x Fmsy x effort[f].- productivity
optional label (e.g. "High").
- id
file-safe identifier; default from
species.- x
a
floss_species.- fishery
optional
floss_fishery: checks that the species has selectivity and catchability for every fleet.