summary.ALKr: Summarizing ALK Estimations

Description Usage Arguments Value Examples

View source: R/summary.ALKr.r

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

1
2
3
  ## S3 method for class 'ALKr'
 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

1
2
3
4
5
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)

zeloff/ALKr documentation built on May 14, 2019, 9:40 a.m.