Learn R Programming

secr (version 3.0.1)

plotMaskEdge: Outline Around Mask Cells

Description

Plots the outer edge of a mask.

Usage

plotMaskEdge(mask, plt = TRUE, add = FALSE, ...)

Arguments

mask
secr habitat mask object
plt
logical; if TRUE the edge is plotted
add
logical; if TRUE the line is added to an existing plot
other line plotting arguments passed to segments

Value

A numeric matrix of 4 columns is returned invisibly. The columns may be used as arguments x0, y0, x1, y1 in a call to segments().

Details

May be slow.

Examples

Run this code

## Not run: ------------------------------------
# plot(possummask)
# plotMaskEdge (possummask, add = TRUE)
## ---------------------------------------------

Run the code above in your browser using DataLab