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(object, criterion = "AICc", ...)

Arguments

object

An Rdistance model frame or fitted distance function, normally produced by a call to dfuncEstim.

criterion

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

...

Included for compatibility to other print methods. Ignored here.

Details

If the proportion of bootstrap iterations that failed is greater than getOption("Rdistance_maxBSFailPropForWarning"), a warning about the validity of CI's is issued and a diagnostic message printed. Increasing this option to a number greater than 1 will kill the warning (e.g., options(Rdistance_maxBSFailPropForWarning = 1.3)), but ignoring a large number of non-convergent bootstrap iterations may be a bad idea (i.e., validity of the CI is questionable). The default value for Rdistance_maxBSFailPropForWarning is 0.2.

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(sparrowDf)

# Fit half-normal detection function
dfunc <- sparrowDf |> dfuncEstim(formula=dist ~ 1 + offset(groupsize))

# Estimate abundance given the detection function
fit <- abundEstim(dfunc
                , area = units::set_units(4105, "km^2")
                , ci=NULL)
summary(fit) # No confidence intervals
                
## Not run: 
# With bootstrap confidence intervals 
# Requires ~3 min to complete
fit <- abundEstim(dfunc
                , area = units::set_units(4105, "km^2")
                , ci=0.95)

summary(fit)

## End(Not run)

tmcd82070/Rdistance documentation built on April 13, 2025, 1:38 p.m.