Plot scape
model predicted selectivity and observed maturity.
plotSel(model, together=FALSE, series=NULL, sex=NULL, axes=TRUE,
legend="bottom", main="", xlab="", ylab="", cex.main=1.2,
cex.legend=1, cex.lab=1, cex.axis=0.8, cex.strip=0.8,
col.strip="gray95", strip=strip.custom(bg=col.strip), las=1,
tck=0, tick.number=5, lty.grid=3, col.grid="gray", pch="m",
cex.points=1, col.points="black", lty.lines=1, lwd.lines=4,
col.lines=c("red","blue"), plot=TRUE, ...)
When plot=TRUE
, a trellis plot is drawn and a data frame is
returned, containing the data used for plotting. When
plot=FALSE
, a trellis object is returned.
fitted scape
model.
whether to plot gears in one panel.
vector of strings indicating which gears or surveys to plot (all by default).
string indicating which sex to plot (both by default).
whether to plot axis values.
legend location: "bottom"
, "left"
,
"top"
, "right"
, or ""
to suppress legend.
main title.
x-axis label.
y-axis label.
size of main title.
size of legend text.
size of axis labels.
size of tick labels.
size of strip labels.
logical flag (whether to plot strip labels), or a
function passed to xyplot
.
color of strip labels.
orientation of tick labels: 0=parallel, 1=horizontal, 2=perpendicular, 3=vertical.
tick mark length.
number of tick marks.
line type of gridlines.
color of gridlines.
symbol for points.
size of points.
color of points.
line type of main lines.
line width of main lines.
color of main lines.
whether to draw plot.
passed to xyplot
, panel.points
,
panel.lines
, and panel.superpose
.
xyplot
, panel.points
,
panel.lines
, and
panel.superpose
are the underlying drawing
functions.
plotCA
, plotCL
, plotIndex
,
and plotLA
plot model fit and data.
plotB
, plotN
, and plotSel
plot
derived quantities.
scape-package
gives an overview of the package.
plotSel(x.ling, xlab="Age", ylab="Selectivity and maturity")
plotSel(x.cod, together=TRUE, xlab="Age\n", ylab="Selectivity",
pch=NA, col.lines=c("coral","navyblue"), strip=FALSE)
Run the code above in your browser using DataLab