effectiveDistance: effectiveDistance - Effective sampling distances

View source: R/effectiveDistance.R

effectiveDistanceR Documentation

effectiveDistance - Effective sampling distances

Description

Computes Effective Strip Width (ESW) for line-transect detection functions, or the analogous Effective Detection Radius (EDR) for point-transect detection functions.

Usage

effectiveDistance(object, newdata = NULL)

Arguments

object

An Rdistance model frame or fitted distance function, normally produced by a call to dfuncEstim.

newdata

A data frame containing new values for covariates at which either ESW's or EDR's will be computed. If NULL and object contains covariates, the covariates stored in object are used (like predict.lm). If not NULL, covariate values in newdata are used. See Value section for more information.

Details

Serves as a wrapper for ESW and EDR.

Value

If newdata is present, the returned value is a vector of effective sampling distances for values of the covariates in newdata with length equal to the number of rows in newdata. If newdata is NULL, the returned value is a vector of effective sampling distances associated with covariate values in object and has the same number of detected groups. The returned vector has measurement units, i.e., object$outputUnits.

See Also

dfuncEstim ESW EDR


tmcd82070/Rdistance documentation built on April 13, 2025, 1:38 p.m.