predDensity: predDensity - Density on transects

View source: R/predDensity.R

predDensityR Documentation

predDensity - Density on transects

Description

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

Usage

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.

Value

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")

 

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