Skip to contents

Creates a plot of detectability by year for differing list lengths from an occupancy model output.

Usage

plot_DetectionOverTime(model, spname = NULL, min.yr = NULL, CI = 95)

Arguments

model

a fitted sparta model of class OccDet.

spname

optional name of the species (used for plotting)

min.yr

Minimum year for the detection (e.g., 1990).

CI

Confidence interval

Value

This function returns plot showing the detection probability on the y axis and year on the x.

Details

Takes a object of OccDet

Calculates the detection probability and produces a plot of detectability over time for the reference data type.