plotAgeComp: Create plots of age composition

Description Usage Arguments Value

Description

This function is called by plotResults(). Age composition data versus calendar year. The years with age composition data are represented with a stacked barplot. With age 2 on the bottom (black) and age 5 on the top (white). The numbers above each bar represent the age composition sample size.

Usage

1

Arguments

dmObj

a saved DM object (list) from runModel() with the objects "input","dat","result", "bdat" and "tDat"

proportions

If proportions=TRUE, the age composition proportions are plotted. If proportions=FALSE, the number of samples in each age are plotted.

Value

The plot is made.


eeholmes/DM documentation built on May 26, 2019, 3:36 p.m.