Description Usage Arguments Value
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.
1 | plotAgeComp(dmObj, proportions = TRUE)
|
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. |
The plot is made.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.