View source: R/compareResults.Pop.CohortProgression.R
compareResults.Pop.CohortProgression | R Documentation |
This function compares cohort progression by year among several models.
compareResults.Pop.CohortProgression(
objs,
cast = "x+m+s+z",
scaleToDensity = FALSE,
aggToCutpts = FALSE,
cutpts = seq(25, 185, 5),
facet_grid = NULL,
facet_wrap = NULL,
dodge = 0.2,
years = NULL,
mxy = 4,
nrow = 2,
lnscale = FALSE,
scales = "fixed",
types = c("progression", "byyear"),
plotPoints = FALSE,
shapes = "s",
plotLines = TRUE,
linetypes = "ms",
showPlot = FALSE,
pdf = NULL,
verbose = FALSE
)
objs |
|
cast |
|
scaleToDensity |
|
aggToCutpts |
|
cutpts |
|
facet_grid |
|
facet_wrap |
|
dodge |
|
years |
|
mxy |
|
nrow |
|
lnscale |
|
scales |
|
types |
|
plotPoints |
|
shapes |
|
plotLines |
|
linetypes |
|
showPlot |
|
pdf |
|
verbose |
|
If objs
is a list of TCSAM02 resLst objects,
model results are extracted using extractMDFR.Pop.CohortProgression()
.
objs
can also be a dataframe output extractMDFR.Pop.CohortProgression()
.
Plots are made using plotMDFR.XY()
.
You can an plot cohort abundance as a progression by stage for each model (types="progression"
or
as size distributions by year with colours indicating different models (types="byyear"
.
Sex-specific cohort progressions are plotted separately. By default,
different maturity/shell condition categories are indicated using different linetypes.
a list of ggplot2 objects, with potential captions as element names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.