print.dfunc {Rdistance}R Documentation

Print a distance function object

Description

Print method for distance functions produced by dfuncEstim, which are of class dfunc.

Usage

## S3 method for class 'dfunc'
print(x, criterion = "AICc", ...)

Arguments

x

An estimated distance function resulting from a call to dfuncEstim.

criterion

A string specifying the 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

The call, coefficients of the distanced function, whether the estimation converged, the likelihood and expansion function, and other statistics are printed. At the bottom of the output, the following quantities are printed,

The number of digits printed is controlled by options()$digits.

Value

The input value of obj is invisibly returned.

See Also

dfuncEstim, plot.dfunc, print.abund

Examples

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

# Fit half-normal detection function
dfunc <- dfuncEstim(formula=dist~1,
                    detectionData=sparrowDetectionData)

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


[Package Rdistance version 3.0.0 Index]