predDensity function

predDensity - Density on transects

predDensity - Density on transects

An internal prediction method for computing density on the sampled transects.

predDensity(object, propUnitSurveyed = 1)

Arguments

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

  • propUnitSurveyed: A scalar or vector of real numbers between 0 and 1. The proportion of the default sampling unit that was surveyed. If both sides of line transects were observed, propUnitSurveyed

    = 1. If only a single side of line transects were observed, set propUnitSurveyed = 0.5. For point transects, this should be set to the proportion of each circle that was observed. Length must either be 1 or the total number of transects in x.

Returns

A data frame containing the original data used to fit the distance function, plus an additional column containing the density of individuals on each transect.

Examples

data(sparrowDfuncObserver) predict(sparrowDfuncObserver, type="density")
  • Maintainer: Trent McDonald
  • License: GNU General Public License
  • Last published: 2025-04-10