print.dfunc: Print a distance function object

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
## 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.

Author(s)

Trent McDonald, WEST Inc. tmcdonald@west-inc.com Aidan McDonald, WEST Inc. aidan@mcdcentral.org

See Also

dfuncEstim, plot.dfunc, print.abund

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Load example sparrow data (line transect survey type)
data(sparrowDetectionData)

# Fit half-normal detection function
dfunc <- dfuncEstim(formula=dist~1,
                    detectionData=sparrowDetectionData,
                    likelihood="halfnorm", w.hi=100, pointSurvey=FALSE)

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

Rdistance documentation built on May 2, 2019, 3:49 a.m.