summary.abund: Summarize abundance estimates

View source: R/summary.abund.R

summary.abundR Documentation

Summarize abundance estimates

Description

Summarize an object of class c("abund","dfunc") that is output by abundEstim.

Usage

## S3 method for class 'abund'
summary(
  x,
  criterion = "AICc",
  maxBSFailPropForWarning = RdistanceControls()$maxBSFailPropForWarning,
  ...
)

Arguments

x

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

criterion

A string specifying the criterion to print. Must be one of "AICc" (the default), "AIC", or "BIC". See AIC.dfunc for formulas.

maxBSFailPropForWarning

The proportion of bootstrap iterations that can fail without a warning. If the proportion of bootstrap iterations that did not converge exceeds this parameter, a warning about the validity of CI's is issued and a diagnostic message printed. Increasing this to a number greater than 1 will kill the warning, but ignoring a large number of non-convergent bootstrap iterations may be a bad idea (i.e., validity of the CI is questionable).

...

Included for compatibility to other print methods. Ignored here.

Details

The default summary method for class 'dfunc' is called first, then the abundance estimates are printed.

Value

0 is invisibly returned.

See Also

dfuncEstim, abundEstim, summary.dfunc, print.dfunc, print.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 the detection function
# Note: do more than R=20 bootstrap iterations
fit <- abundEstim(dfunc
                , detectionData = sparrowDetectionData
                , siteData = sparrowSiteData
                , area = units::set_units(4105, "km^2")
                , R=20
                , ci=0.95)

summary(fit)


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