Learn R Programming

Rdistance (version 1.3.2)

print.dfunc: Print a distance function object.

Description

Print method for distance functions produced by F.dfunc.estim, that are of class dfund.

Usage

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

Arguments

x

An estimated distance function resulting from a call to F.dfunc.estim.

Included for compatability with other print methods. Ignored here.

Value

The input value of obj is invisibly returned.

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 : Effective strip half-width as computed by ESW.

  • 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.

  • AIC : Value of AIC for the distance function.

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

See Also

F.dfunc.estim, plot.dfunc, print.abund

Examples

Run this code
# NOT RUN {
# Load the example datasets of sparrow detections and transects from package
data(sparrow.detections)
data(sparrow.transects)

# Fit detection function to perpendicular, off-transect distances
dfunc <- F.dfunc.estim(sparrow.detections, w.hi=150)

# Print the output                 
print(dfunc)
# }

Run the code above in your browser using DataLab