plot_DetectionOverTime: Diagnostics for the detection model with respect to Length

View source: R/plot_DetectionOverTime.R

plot_DetectionOverTimeR Documentation

Diagnostics for the detection model with respect to Length

Description

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

Details

Takes a object of OccDet

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

Value

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


BiologicalRecordsCentre/sparta documentation built on April 22, 2024, 2:34 p.m.