SSplotData | R Documentation |
Plot shows graphical display of what data is being used in the model. Some data types may not yet be included. Note, this is based on output from the model, not the input data file.
SSplotData(
replist,
plot = TRUE,
print = FALSE,
plotdir = "default",
subplots = 1:2,
fleetcol = "default",
datatypes = "all",
fleets = "all",
fleetnames = "default",
ghost = FALSE,
pwidth = 6.5,
pheight = 5,
punits = "in",
res = 300,
ptsize = 10,
cex.main = 1,
margins = c(5.1, 2.1, 2.1, 8.1),
cex = 2,
lwd = 12,
maxsize = 1,
alphasize = 1,
mainTitle = FALSE,
verbose = TRUE,
subplot = lifecycle::deprecated()
)
replist |
A list object created by |
plot |
Plot to active plot device? |
print |
Print to PNG files? |
plotdir |
Directory where PNG files will be written. |
subplots |
vector controlling which subplots to create Currently there are only 2 subplots:
|
fleetcol |
Either the string "default", or a vector of colors to use for each fleet. If tagging data is included, an additional color needs to be added for the tag releases which are not assigned to a fleet. |
datatypes |
Either the string "all", or a vector including some subset of the following: "catch", "cpue", "lendbase", "sizedbase", "agedbase", "condbase", "ghostagedbase", "ghostcondbase", "ghostlendbase", "ladbase", "wadbase", "mnwgt", "discard", "tagrelease", "tagdbase1", and "morphcompdbase". |
fleets |
Either the string "all", or a vector of numerical values, like c(1,3), listing fleets or surveys to be included in the plot. |
fleetnames |
Optional replacement for fleetnames used in data file. |
ghost |
TRUE/FALSE indicator for whether to show presence of composition data from ghost fleets (data for which the fit is shown, but is not included in the likelihood calculations). |
pwidth |
Default width of plots printed to files in units of
|
pheight |
Height of plots printed to png files in units of |
punits |
Units for |
res |
Resolution of plots printed to files.
The default is |
ptsize |
Point size for plotted text in plots printed to files (see
|
cex.main |
Character expansion for plot titles.
The default is |
margins |
margins of plot (passed to par() function), which may need to be increased if fleet names run off right-hand margin |
cex |
Character expansion for points showing isolated years of data |
lwd |
Line width for plot elements. |
maxsize |
The size (cex) of the largest bubble in the datasize plot. Default is 1. |
alphasize |
The transparency of the bubbles in the datasize plot. Defaults to 1 (no transparency). Useful for models with lots of overlapping points. |
mainTitle |
Logical indicating if a title should be included at the top (not yet implemented for all plots). |
verbose |
A logical value specifying if output should be printed to the screen. |
subplot |
Deprecated. Use subplots instead. |
Ian Taylor, Chantel Wetzel, Cole Monnahan
SS_plots()
, SS_output()
,
SS_readdat()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.