Learn R Programming

Rdistance (version 4.0.5)

effort: effort - Effort information

Description

Extract effort information from an Rdistance data frame. Effort is length of line-transects or number of points on point-transects.

Usage

effort(x, ...)

Value

A vector containing effort. If line-transects, return is length of transects, with units. If point-transects, return is number of points (integers, no units). Vector length is number of transects. If input is not an RdistDf or estimated distance function, return is NULL.

Arguments

x

Either an estimated distance function, output by dfuncEstim, or an Rdistance nested data frame, output by RdistDf.

...

Ignored

Examples

Run this code

data(sparrowDf)
effort(sparrowDf)
fit <- dfuncEstim(sparrowDf, dist ~ 1)
effort(fit)

Run the code above in your browser using DataLab