Description Usage Arguments Value References Examples
classicALK
returns an Age-Length Key calculated
from a matrix with the count of individuals per age- and
length-class, as described by Fridriksson (1934).
1 2 3 4 | classic_ALK(x, fi = rowSums(x),
age_classes = colnames(x),
length_classes = rownames(x), name = "",
description = "")
|
x |
A i \times j matrix with the count of individuals of length i and age j. |
fi |
A vector of length |
age_classes |
A vector with the name of each age
class. Defaults to the column names of |
length_classes |
A vector with the name of each
length class. Defaults to the row names of |
name |
A string with the name of the ALK. |
description |
A string describing the ALK. |
An ALKr
object, containing a i \times j
matrix with the probability of an individual of length
i
having age j
, i.e. P(j|i), a i
\times j matrix with the estimated number of individuals
of length i
and age j
, and information
about the method used to generate the key.
Fridriksson, A. (1934). On the calculation of age-distribution within a stock of cod by means of relatively few age determinations as a key to measurements on a large scale. Rapp. P.-V. CIEM, 86, 1-5.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.