plot_detection: Distance sampling analysis.

View source: R/plot_detection.R

plot_detectionR Documentation

Distance sampling analysis.

Description

Adjust a detection function on distance observation for one taxonomic group. It gives the ESW (effective-strip witdth), its standard deviation, a distance object from ds function, and it gives the detection plot of the detection function adjusted.

Usage

plot_detection(distdata, bin = NULL, key = NULL, upper = NULL, is_seabird)

Arguments

distdata

data.frame previously built with prepare_data_obs.

bin

Min and max value of the distance detection and the step between these two.

key

Choice bewtween two key function :

  1. "halfnorm" : Half-Normal.

  2. "hazard" : hazard-rate.

upper

Maximum value of the distance range of detection estimation.

Value

This function return list with :

  1. esw : effective strip width. with confidence interval at 95 percent.

  2. esw_cv : coefficient of variation of esw in percent.

  3. graph : Barplot of detections depending of distance, with confindence estimated with mcmc chains.

  4. distfit : distance object from ds function.


MathieuGenu/geffaeR documentation built on March 23, 2022, 7:50 p.m.