akimanabe / fishm

A toolbox to estimate the natural mortality of fish
1 stars 0 forks source link

M by longevity #2

Open akimanabe opened 1 year ago

akimanabe commented 1 year ago

Linked to #1

Natural mortality is often linked to longevity however the estimation function is not always the same. Now we are to collect various functions of M by longevity, creating either a master function like the following.

m_longevity(tmax = 10, method = "Tanaka")

and get a result like

0.25

since 2.5/(tmax = 10) = 0.25.

akimanabe commented 1 year ago

The function can go like

m_longevity(tmax = 10, method="meta")

to obtain meta-analytical result of M based on longevity.