View source: R/truefind_asymptotic.R
| plot_detection_curve | R Documentation |
Creates a visualization of the detection probability curve.
plot_detection_curve(
curve_data,
add_reference_lines = TRUE,
add_threshold_line = TRUE,
title = NULL,
...
)
curve_data |
A data.frame from |
add_reference_lines |
Logical. Add horizontal reference lines at 0.05, 0.10, 0.80. Default: TRUE |
add_threshold_line |
Logical. Add vertical line at hr_threshold. Default: TRUE |
title |
Character. Plot title. Default: auto-generated |
... |
Additional arguments passed to plot() |
Invisibly returns the input data.
## Not run:
curve_data <- generate_detection_curve(n_sg = 60, prop_cens = 0.2)
plot_detection_curve(curve_data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.