View source: R/compareFits.SizeComps.R
compareFits.SizeComps | R Documentation |
Function to compare fits to size comps by fleet among several model runs.
compareFits.SizeComps(
objs = NULL,
mdfr = NULL,
fleets = "all",
fleet.type = c("survey", "fishery"),
catch.type = c("index", "retained", "discard", "total"),
years = "all",
plot1stObs = TRUE,
nrow = 5,
ncol = 4,
useBars = TRUE,
usePins = FALSE,
usePinsAndPts = FALSE,
useLines = TRUE,
usePoints = TRUE,
pinSize = 0.2,
lineSize = 1,
pointSize = 1,
alpha = 0.5,
stripText = ggplot2::element_text(),
pdf = NULL,
showPlot = FALSE,
verbose = FALSE
)
objs |
|
mdfr |
|
fleets |
|
fleet.type |
|
catch.type |
|
years |
|
plot1stObs |
|
nrow |
|
ncol |
|
useBars |
|
usePins |
|
usePinsAndPts |
|
useLines |
|
usePoints |
|
pinSize |
|
lineSize |
|
pointSize |
|
alpha |
|
stripText |
|
pdf |
|
showPlot |
|
verbose |
|
Uses extractFits.SizeComps()
to extract results.
Also uses wtsUtilities::printGGList()
.
If years
is numeric, plots start with min(years)
, otherwise they
start at the largest half-decade (e.g., 1980, 1985, 1990,...) les than or equal to the min
year with observations.
Non-nested list of ggplot2 objects, with captions as names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.