dr_predict_distance: Predict Distance

View source: R/predict.R

dr_predict_distanceR Documentation

Predict Distance

Description

Predict distance at vector of detection efficiencies. By default, the midpoint (de = 0.5) is predicted.

Usage

dr_predict_distance(
  x,
  de = 0.5,
  by = "Station",
  conf_level = 0.95,
  estimate = median
)

Arguments

x

The object.

de

A vector of numbers between 0 and 1 of the detection efficiency to predict distance at.

by

A string of the column indicating group to derive predictions at.

conf_level

A number between 0 and 1 of the confidence level.

estimate

A function to calculate the estimate.

Value

A tibble of the predicted distance estimates.

See Also

Other analysis: dr_predict_de()


Freshwater-Fish-Ecology-Laboratory/detrange documentation built on Oct. 30, 2024, 1:10 p.m.