catch.m: Catch at Age Matrix

catch.mR Documentation

Catch at Age Matrix

Description

Catch-at-age table as a wide matrix.

Usage

catch.m

Format

Matrix with years as row names and ages in columns:

3 number of three-year-olds in the catch (thousands)
4 number of four-year-olds in the catch (thousands)
...
14 number of fourteen-year-olds in the catch (thousands)

Details

The data are from Table 8.2 in the ICES (2015) assessment of Icelandic saithe.

Source

ICES (2015) Report of the North-Western Working Group (NWWG). ICES CM 2015/ACOM:07, pp. 240–241.

See Also

catch.d is the same data in a long data.frame.

catch.r are standardized residuals from a stock assessment model fit.

bubbleplot-package gives an overview of the package.

Examples

# 1  Formula
bubbleplot(Catch~Age+Year, data=catch.d)
# Compare this plot with catch.m layout
print(catch.m)
bubbleplot(Catch~Age+Year, data=catch.d, rev=TRUE, las=TRUE)

# 2  Data frame
bubbleplot(catch.d)

# 3  Matrix or table
bubbleplot(catch.m)
catch.t <- xtabs(Catch~Year+Age, catch.d)
bubbleplot(catch.t)

# 4  Positive and negative values
bubbleplot(catch.r)
bubbleplot(Resid~Age+Year, catch.r, subset=Age %in% 4:9,
           rev=TRUE, xlim=c(3.5,9.5), cex=1.3)

arni-magnusson/bubbleplot documentation built on March 28, 2022, 12:11 a.m.