View source: R/summary.abund.R
summary.abund | R Documentation |
Summarize an object of class c("abund","dfunc")
that is output by abundEstim
.
## S3 method for class 'abund'
summary(object, criterion = "AICc", ...)
object |
An Rdistance model frame or fitted distance function,
normally produced by a call to |
criterion |
A string specifying the model fit criterion to print.
Must be one of "AICc" (the default),
"AIC", or "BIC". See |
... |
Included for compatibility to other print methods. Ignored here. |
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.
0 is invisibly returned.
dfuncEstim
, abundEstim
,
summary.dfunc
, print.dfunc
,
print.abund
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.