Learn R Programming

secrdesign (version 2.5.5)

plot.optimalSpacing: Plot and print methods for optimalSpacing object

Description

Plotsor print results from optimalSpacing.

Usage

# S3 method for optimalSpacing
plot(x, add = FALSE, plottype = c("RSE", "nrm"), ...)
# S3 method for optimalSpacing
print(x, ...)

Arguments

x

object from optimalSpacing

add

logical; if TRUE will add to existing plot

plottype

character code

other arguments for plot, lines or points

Value

None

Details

If type = "RSE" then RSE(D-hat) is plotted against R (relative detector spacing), otherwise the expected numbers of individuals, recaptures and movements are plotted against R.

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.

See Also

optimalSpacing