Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Details

May be slow.

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().

Note

A bug in secr <3.2.2 caused some internal lines to appear when the mask spacing was not an integer.

Examples

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

## End(Not run)

secr

Spatially Explicit Capture-Recapture

v4.4.1
GPL (>= 2)
Authors
Murray Efford
Initial release
2021-05-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.