View source: R/plot_DetectionOverTime.R
plot_DetectionOverTime | R Documentation |
Creates a plot of detectability by year for differing list lengths from an occupancy model output.
plot_DetectionOverTime(model, spname = NULL, min.yr = NULL, CI = 95)
model |
a fitted sparta model of class |
spname |
optional name of the species (used for plotting) |
min.yr |
Minimum year for the detection (e.g., 1990). |
CI |
Confidence interval |
Takes a object of OccDet
Calculates the detection probability and produces a plot of detectability over time for the reference data type.
This function returns plot showing the detection probability on the y axis and year on the x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.