Learn R Programming

secrdesign (version 2.9.2)

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("both", "RSE", "nrm"), ...)
# S3 method for optimalSpacing
print(x, ...)

Value

None

Arguments

x

object from optimalSpacing

add

logical; if TRUE will add to existing plot

plottype

character code

...

other arguments for plot, lines or points

Details

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.

The ... argument may be used to pass other plotting arguments to override defaults:

FunctionArgumentsNote
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