show.detsurf: Plotting the detection probability surface

Description Usage Arguments Examples

Description

Plots the detection probability surface, based on trap locations and the estimated detection function from a model fitted using admbsecr.

Usage

1
2
3
show.detsurf(fit, surface = TRUE, col = "black", levels = NULL,
  xlim = NULL, ylim = NULL, show.labels = TRUE, trap.col = "red",
  add = FALSE, ...)

Arguments

fit

A fitted model from admbsecr.

surface

Logical, if TRUE a 3D detection surface is plotted over the mask point locations, otherwise a contour plot is shown.

col

The colour of the plotted contours.

levels

A numeric vector giving the values to be associated with the plotted contours. Alternatively, this can be the character string "esa", which results in a contour encapsulating an area equal to the estimates effective sampling area.

xlim

A numeric vector of length 2, giving the x coordinate range.

ylim

A numeric vector of length 2, giving the y coordinate range.

show.labels

Logical, if TRUE, contours are labelled with the appropriate probability.

trap.col

The colour of the points representing detector locations.

add

Logical, if TRUE, contours will be added to an existing plot.

...

Arguments to be passed to persp.

Examples

1
show.detsurf(example$fits$simple.hn)

b-steve/admbsecr documentation built on May 11, 2019, 5:20 p.m.