Description Usage Arguments Value
Create several plots based on the DM model runs. This calls the functions for various plots: plotPriors, plotPosteriors, plotAgeComp, plotCoefs
1 2 3 | plotResults(dmObj, plotType = c("a.and.p.data", "priors", "SR", "recruits",
"covariates", "harvest", "EscData", "EscAndAge", "escapement", "barPlot",
"ageComp"), plotDest = "default", plotName = "tmp")
|
dmObj |
a saved DM object (list) from runModel() with the objects "input","dat","result", and "tDat" |
plotType |
The plots and order in which to make them
|
plotDest |
Plot destination. Can be "screen", "png", "default", "none". If "screen", separate graphics windows are opened. If "none", nothing is plotted but the figure captions are returned. |
plotName |
prefix to apply to filename for generated plots if plotDest="png" |
The plot is saved to a file or plotted to screen or default device depending on plotDest. A vector of plot captions is returned invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.