Description Usage Arguments Examples
Plots an estimated detection function from a model fit generated by admbsecr.
1 2  | 
xlim | 
 A vector with two elements, giving the x-axis
limits. If   | 
ylim | 
 A vector with two elements, giving the y-axis limits.  | 
add | 
 Logical, if   | 
... | 
 Further arguments to be passed to lines.  | 
fit | 
 A fitted model from admbsecr.  | 
main | 
 The main title (on top) using font and size (character
expansion)   | 
xlab | 
 X axis label using font and character expansion
  | 
ylab | 
 Y axis label, same font attributes as   | 
1 2 3 4  | ## Comparison of two detection functions fitted to the same data
show.detfn(example$fits$simple.hn, main = "Detection function comparison")
show.detfn(example$fits$simple.hr, add = TRUE, col = "blue")
legend("topright", legend = c("Half normal", "Hazard rate"), lty = 1, col = c("black", "blue"), bg = "white")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.