summary.dfunc {Rdistance}R Documentation

Summarize a distance function object

Description

A summary method for distance functions. Distance functions are produced by dfuncEstim (class dfunc).

Usage

## S3 method for class 'dfunc'
summary(object, criterion = "AICc", ...)

Arguments

object

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

criterion

A string specifying the model fit criterion to print. Must be one of "AICc" (the default), "AIC", or "BIC". See AIC.dfunc for formulas.

...

Included for compatibility with other print methods. Ignored here.

Details

This function prints the following quantities:

The number of digits used in the printout is controlled by options()$digits.

Value

The input distance function object (object), invisibly, with the following additional components:

See Also

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

Examples

# Load example sparrow data (line transect survey type)
data(sparrowDf)

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

# Print results
summary(dfunc)
summary(dfunc, criterion="BIC")


[Package Rdistance version 4.0.5 Index]