Learn R Programming

ALKr (version 0.5.3.1)

summary.ALKr: Summarizing ALK Estimations

Description

summary method for class "ALKr". Returns the mean length-at-age, the variance of the length-at-age, and the proportion of the age class in the population, for each age class.

Usage

"summary"(object, length_classes = NULL, ...)

Arguments

object
An ALKr object.
length_classes
A vector with the length value to be used for each length class. Defaults to the row names of x, which must be coercible as numerics.
...
other arguments (currently ignored)

Value

A summary_ALKr object, containing the mean length-at-age, the variance of the length-at-age, and the proportion of the age class in the population, for each age class. The name of the method used to calculate the ALK and its parameters are also included.

Examples

Run this code
data(hom)
cALK <- classic_ALK(hom$otoliths[[1]], fi = hom$F1992)
summary(cALK)
hhALK <- hoenig_heisey(hom$otoliths[[1]], fi1 = hom$F1992, fi2 = hom$F1993)
summary(hhALK)

Run the code above in your browser using DataLab