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 |
criterion |
A string specifying the criterion to print.
Must be one of "AICc" (the default),
"AIC", or "BIC". See |
... |
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,
-
‘Strip’ : The left (
w.lo
) and right (w.hi
) truncation values. -
‘Effective strip width or detection radius’ : ESW or EDR as computed by
effectiveDistance
. -
‘Scaling’ : The horizontal and vertical coordinates used to scale the distance function. Usually, the horizontal coordinate is 0 and the vertical coordinate is 1 (i.e., g(0) = 1).
-
‘Log likelihood’ : Value of the maximized log likelihood.
-
‘Criterion’ : Value of the specified fit criterion (AIC, AICc, or BIC).
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")