PIFSCstockassessments / ss3diags

R package with advanced diagnostics to evaluate a Stock Synthesis model. Diagnostics include residual analyses, hindcasting and cross-validation techniques, and retrospective analyses.
http://pifscstockassessments.github.io/ss3diags/
2 stars 4 forks source link

ssplots: refactor "par" parameter to "mar"/plot-margin parameter #66

Closed efletcherPIFSC closed 1 year ago

efletcherPIFSC commented 1 year ago

SSplot functions SSPlotModelcomp, SSplotEnsemble, SSplotHCXval, SSplotJABBAres, SSplotRetro, and SSplotRunsTest use a par parameter to setup the plot margins (mar).

The use of par the parameter is redundant, and can override ssplot graphical parameters.

Replacing "par" with a plot margin parameter would resolve this.