Learn R Programming

Rdistance (version 4.0.5)

print.dfunc: print.dfunc - Print method for distance function object

Description

Print method for distance function objects produced by dfuncEstim.

Usage

# S3 method for dfunc
print(x, ...)

Value

The input distance function (x) is returned invisibly.

Arguments

x

An estimated detection function object, normally produced by calling dfuncEstim.

...

Included for compatibility with other print methods. Ignored here.

See Also

dfuncEstim, plot.dfunc, print.abund, summary.dfunc

Examples

Run this code
# Load example sparrow data (line transect survey type)
data(sparrowSiteData)
data(sparrowDetectionData)

# Fit half-normal detection function
sparrowDf <- RdistDf(sparrowSiteData, sparrowDetectionData)
dfunc <- sparrowDf |> dfuncEstim(formula=dist~1)

dfunc

Run the code above in your browser using DataLab