| plot.optimalSpacing | R Documentation |
Plotsor print results from optimalSpacing.
## S3 method for class 'optimalSpacing'
plot(x, add = FALSE, plottype = c("both", "RSE", "nrm", "RB", "RMSE"),
xtype = c('relative','absolute'), xoffset = 0, ...)
## S3 method for class 'optimalSpacing'
print(x, ...)
x |
object from |
add |
logical; if TRUE will add to existing plot |
plottype |
character code |
xtype |
character scale of x-axis |
xoffset |
numeric offset of points on x-axis |
... |
other arguments for plot, lines or points |
If plottype = "RSE" then RSE(D-hat) is plotted against R (relative detector spacing).
If plottype = "nrm" then the expected numbers of individuals, recaptures and movements are plotted against R.
If plottype = "RB" then the simulated relative bias of D-hat is plotted against R.
If plottype = "rRMSE" then the simulated relative root-mean-square-error of D-hat is plotted against R.
plottype = "both" then both the simulated and approximate RSE are plotted.
If xtype = "absolute" then the scale of the x-axis is R * sigma (from the detectpar attribute of x).
xoffset is used to slightly displace added points to avoid overlap.
The ... argument may be used to pass other plotting arguments to override defaults:
| Function | Arguments | Note |
| plot | `xlab', `ylab', `xlim', `ylim', `las', `xaxs', `yaxs' | add = FALSE |
| points | `col', `cex', `pch' | optimum and simulated RSE |
| lines | `col', `lwd', `lty' | rule-of-thumb RSE |
The print method removes attributes before printing.
None
optimalSpacing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.