plot_detect | R Documentation |
This function allows to highligth individuals detected according to the sample design and the detection function. The function represents on the study map, the different transects of the sample design and highligtht in dark blue the detected (simulated) individuals while other non detected (simulated) individuals are in grey.
plot_detect(dist_obj, transect_obj, map_obj, title)
dist_obj |
sf dataframe. Distances between individuals and associated transect/segment and probability that the individual is detected or not. |
transect_obj |
sf dataframe. Transect/segments data. |
map_obj |
sf dataframe. Map of the study area with the density. |
title |
character. Title for the graph. |
ggplot object. A map highligthing detected individuals.
data("dataset_detected") data("dataset_segs") plot_detect(dist_obj = dataset_detected, transect_obj = dataset_segs, map_obj = dataset_map, title = "Detected individuals")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.