Learn R Programming

Rdistance (version 1.3.2)

print.abund: Print abundance estimates.

Description

Print an object of class c("abund","dfunc") that is output by F.abund.estim.

Usage

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

Arguments

x

An object output by F.abund.estim. This is a distance function object that also contains abundance estimates, and has class c("abund", "dfunc").

Included for compatibility to other print methods. Ignored here.

Value

No value is returned.

Details

The default print method for class 'dfunc' is called, then the abundance estimates contained in obj are printed.

See Also

F.dfunc.estim, F.abund.estim

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)

# Estimate abundance given a detection function
fit <- F.abund.estim(dfunc, detection.data=sparrow.detections, transect.data=sparrow.transects,
                     area=10000, R=10, ci=0.95, plot.bs=TRUE, by.id=FALSE)

# Print the output                 
print(fit)
# }

Run the code above in your browser using DataLab