plot_detect: Plot detection

View source: R/plot_detect.R

plot_detectR Documentation

Plot detection

Description

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.

Usage

plot_detect(dist_obj, transect_obj, map_obj, title)

Arguments

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.

Value

ggplot object. A map highligthing detected individuals.

Examples

data("dataset_detected")
data("dataset_segs")

plot_detect(dist_obj = dataset_detected, 
            transect_obj = dataset_segs, 
            map_obj = dataset_map, 
            title = "Detected individuals")

maudqueroue/intercali documentation built on Oct. 8, 2022, 2:09 p.m.