print.abund: Print abundance estimates

View source: R/print.abund.r

print.abundR Documentation

Print abundance estimates

Description

Print an object of class c("abund","dfunc") produced by abundEstim.

Usage

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

Arguments

x

An object output by abundEstim. This is a distance function object augmented with abundance estimates, and has class c("abund", "dfunc").

...

Included for compatibility to other print methods. Ignored here.

Value

0 is invisibly returned

See Also

dfuncEstim, abundEstim, summary.dfunc, print.dfunc, summary.abund

Examples

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

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

# Estimate abundance given a detection function
# Note: a person should do more than R=20 bootstrap iterations
fit <- abundEstim(dfunc
                , detectionData = sparrowDetectionData
                , siteData = sparrowSiteData
                , area = units::set_units(4105, "km^2")
                , ci = NULL)
print(fit)


tmcd82070/Rdistance documentation built on April 10, 2024, 10:20 p.m.