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).
classic_ALK(x, fi = rowSums(x), age_classes = colnames(x), length_classes = rownames(x), name = "", description = "")
i
where fi[i]
is the number of fish in the length-class i
on the
population from which x
was sampled. Defaults to
the number of samples per length class, which willx
.x
.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.
data(hom)
classic_ALK(hom$otoliths[[1]], fi = hom$F1992)
Run the code above in your browser using DataLab